5 #ifndef __INITIALIZER_LIST_HEADER
6 #define __INITIALIZER_LIST_HEADER
28 : _M_array(__a), _M_len(__l) { }
32 : _M_array(0), _M_len(0) { }
36 size() const noexcept {
return _M_len; }
40 begin() const noexcept {
return _M_array; }
55 {
return __ils.begin(); }
65 {
return __ils.end(); }
68 #endif //__INITIALIZER_LIST_HEADER
constexpr size_type size() const noexcept
Definition: initializer_list.hpp:36
constexpr initializer_list() noexcept
Definition: initializer_list.hpp:31
constexpr const_iterator end() const noexcept
Definition: initializer_list.hpp:44
const _E * const_iterator
Definition: initializer_list.hpp:20
const _E & const_reference
Definition: initializer_list.hpp:17
const _E & reference
Definition: initializer_list.hpp:16
size_t size_type
Definition: initializer_list.hpp:18
initializer_list
Definition: initializer_list.hpp:12
_E value_type
Definition: initializer_list.hpp:15
const _E * iterator
Definition: initializer_list.hpp:19
constexpr const _Tp * end(initializer_list< _Tp > __ils) noexcept
Return an iterator pointing to one past the last element of the initilizer_list.
Definition: initializer_list.hpp:64
constexpr const _Tp * begin(initializer_list< _Tp > __ils) noexcept
Return an iterator pointing to the first element of the initilizer_list.
Definition: initializer_list.hpp:54
constexpr const_iterator begin() const noexcept
Definition: initializer_list.hpp:40