30#ifndef _INITIALIZER_LIST
31#define _INITIALIZER_LIST
33#pragma GCC system_header
35#if __cplusplus < 201103L
41namespace std _GLIBCXX_VISIBILITY(default)
48 typedef _E value_type;
49 typedef const _E& reference;
50 typedef const _E& const_reference;
51 typedef size_t size_type;
52 typedef const _E* iterator;
53 typedef const _E* const_iterator;
61 : _M_array(__a), _M_len(__l) { }
65 : _M_array(0), _M_len(0) { }
69 size()
const noexcept {
return _M_len; }
72 constexpr const_iterator
73 begin()
const noexcept {
return _M_array; }
76 constexpr const_iterator
77 end()
const noexcept {
return begin() + size(); }
89 {
return __ils.begin(); }
100 {
return __ils.end(); }
ISO C++ entities toplevel namespace is std.
constexpr const _Tp * begin(initializer_list< _Tp > __ils) noexcept
Return an iterator pointing to the first element of the initializer_list.
constexpr const _Tp * end(initializer_list< _Tp > __ils) noexcept
Return an iterator pointing to one past the last element of the initializer_list.