Compartilhar via


initializer_list::begin

Returns a pointer to the first element in an initializer_list.

const InputIterator* begin() const;

Return Value

A pointer to the first element of the initializer_list. If the list is empty, the pointer is the same for the beginning and end of the list.

Requirements

Header: <initializer_list>

Namespace: std

See Also

Reference

initializer_list Class