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