30 #ifndef _INITIALIZER_LIST 31 #define _INITIALIZER_LIST 33 #pragma GCC system_header 35 #if __cplusplus < 201103L 39 #pragma GCC visibility push(default) 50 typedef _E value_type;
51 typedef const _E& reference;
52 typedef const _E& const_reference;
53 typedef size_t size_type;
54 typedef const _E* iterator;
55 typedef const _E* const_iterator;
63 : _M_array(__a), _M_len(__l) { }
67 : _M_array(0), _M_len(0) { }
71 size()
const noexcept {
return _M_len; }
74 constexpr const_iterator
75 begin()
const noexcept {
return _M_array; }
78 constexpr const_iterator
79 end()
const noexcept {
return begin() + size(); }
90 {
return __ils.begin(); }
100 {
return __ils.end(); }
103 #pragma GCC visibility pop 107 #endif // _INITIALIZER_LIST
ISO C++ entities toplevel namespace is std.
constexpr const _Tp * end(initializer_list< _Tp > __ils) noexcept
Return an iterator pointing to one past the last element of the initializer_list.
constexpr const _Tp * begin(initializer_list< _Tp > __ils) noexcept
Return an iterator pointing to the first element of the initializer_list.