共用方式為


initializer_list::end

Returns a pointer to one past the last element in an initializer list.

const InputIterator* end() const;

Return Value

A pointer to one past the last element in the list. If the list is empty, this is the same as the pointer to the first element in the list.

Requirements

Header: <initializer_list>

Namespace: std

See Also

Reference

initializer_list Class