std::begin(std::initializer_list) (3) - Linux Manuals
std::begin(std::initializer_list): std::begin(std::initializer_list)
NAME
std::begin(std::initializer_list) - std::begin(std::initializer_list)
Synopsis
template< class E > (since C++11)
const E* begin( initializer_list<E> il ) noexcept; (until C++14)
template< class E > (since C++14)
constexpr const E* begin( initializer_list<E> il ) noexcept;
The overload of std::begin for initializer_list returns a pointer to the first element of il.
Parameters
il - an initializer_list
Return value
il.begin()
Example
// Run this code
Output:
See also
begin (public member function)