/usr/include/c++/11
NameSizeModeActions
backward/-0755rm
bits/-0755rm
debug/-0755rm
decimal/-0755rm
experimental/-0755rm
ext/-0755rm
parallel/-0755rm
pstl/-0755rm
tr1/-0755rm
tr2/-0755rm
algorithm30450644editdlrm
any187580644editdlrm
array138200644editdlrm
atomic488000644editdlrm
barrier80260644editdlrm
bit121870644editdlrm
bitset459950644editdlrm
cassert16480644editdlrm
ccomplex13350644editdlrm
cctype24090644editdlrm
cerrno17700644editdlrm
cfenv20510644editdlrm
cfloat18890644editdlrm
charconv197610644editdlrm
chrono972120644editdlrm
cinttypes21570644editdlrm
ciso64614640644editdlrm
climits19130644editdlrm
clocale19050644editdlrm
cmath493820644editdlrm
codecvt52750644editdlrm
compare282710644editdlrm
complex567030644editdlrm
complex.h15960644editdlrm
concepts122300644editdlrm
condition_variable127800644editdlrm
coroutine91560644editdlrm
csetjmp19490644editdlrm
csignal18550644editdlrm
cstdalign14070644editdlrm
cstdarg18680644editdlrm
cstdbool14010644editdlrm
cstddef66900644editdlrm
cstdint23350644editdlrm
cstdio44390644editdlrm
cstdlib63250644editdlrm
cstring31560644editdlrm
ctgmath13600644editdlrm
ctime22980644editdlrm
cuchar22100644editdlrm
cwchar65420644editdlrm
cwctype27930644editdlrm
cxxabi.h222800644editdlrm
deque39730644editdlrm
exception50170644editdlrm
execution18030644editdlrm
fenv.h20200644editdlrm
filesystem16450644editdlrm
forward_list26900644editdlrm
fstream406800644editdlrm
functional402000644editdlrm
future522780644editdlrm
initializer_list30380644editdlrm
iomanip165470644editdlrm
ios16010644editdlrm
iosfwd75130644editdlrm
iostream26970644editdlrm
istream340980644editdlrm
iterator27510644editdlrm
latch27320644editdlrm
limits716740644editdlrm
list36570644editdlrm
locale14880644editdlrm
map39290644editdlrm
math.h45730644editdlrm
memory45130644editdlrm
memory_resource211130644editdlrm
mutex242230644editdlrm
new83490644editdlrm
numbers62440644editdlrm
numeric261100644editdlrm
optional401700644editdlrm
ostream259760644editdlrm
queue24670644editdlrm
random16920644editdlrm
ranges1072010644editdlrm
ratio201080644editdlrm
regex28610644editdlrm
scoped_allocator176490644editdlrm
semaphore30000644editdlrm
set37990644editdlrm
shared_mutex245880644editdlrm
source_location27470644editdlrm
span131310644editdlrm
sstream392310644editdlrm
stack23910644editdlrm
stdexcept98780644editdlrm
stdlib.h22480644editdlrm
stop_token159820644editdlrm
streambuf298900644editdlrm
string46450644editdlrm
string_view261570644editdlrm
syncstream83300644editdlrm
system_error150060644editdlrm
tgmath.h13600644editdlrm
thread59190644editdlrm
tuple627670644editdlrm
typeindex35120644editdlrm
typeinfo77460644editdlrm
type_traits1076670644editdlrm
unordered_map34670644editdlrm
unordered_set33400644editdlrm
utility148160644editdlrm
valarray406950644editdlrm
variant628660644editdlrm
vector42750644editdlrm
version92640644editdlrm
Edit: /usr/include/c++/11/initializer_list (3038B)
// std::initializer_list support -*- C++ -*- // Copyright (C) 2008-2021 Free Software Foundation, Inc. // // This file is part of GCC. // // GCC is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 3, or (at your option) // any later version. // // GCC is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // Under Section 7 of GPL version 3, you are granted additional // permissions described in the GCC Runtime Library Exception, version // 3.1, as published by the Free Software Foundation. // You should have received a copy of the GNU General Public License and // a copy of the GCC Runtime Library Exception along with this program; // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // . /** @file initializer_list * This is a Standard C++ Library header. */ #ifndef _INITIALIZER_LIST #define _INITIALIZER_LIST #pragma GCC system_header #if __cplusplus < 201103L # include #else // C++0x #pragma GCC visibility push(default) #include namespace std { /// initializer_list template class initializer_list { public: typedef _E value_type; typedef const _E& reference; typedef const _E& const_reference; typedef size_t size_type; typedef const _E* iterator; typedef const _E* const_iterator; private: iterator _M_array; size_type _M_len; // The compiler can call a private constructor. constexpr initializer_list(const_iterator __a, size_type __l) : _M_array(__a), _M_len(__l) { } public: constexpr initializer_list() noexcept : _M_array(0), _M_len(0) { } // Number of elements. constexpr size_type size() const noexcept { return _M_len; } // First element. constexpr const_iterator begin() const noexcept { return _M_array; } // One past the last element. constexpr const_iterator end() const noexcept { return begin() + size(); } }; /** * @brief Return an iterator pointing to the first element of * the initializer_list. * @param __ils Initializer list. * @relates initializer_list */ template constexpr const _Tp* begin(initializer_list<_Tp> __ils) noexcept { return __ils.begin(); } /** * @brief Return an iterator pointing to one past the last element * of the initializer_list. * @param __ils Initializer list. * @relates initializer_list */ template constexpr const _Tp* end(initializer_list<_Tp> __ils) noexcept { return __ils.end(); } } #pragma GCC visibility pop #endif // C++11 #endif // _INITIALIZER_LIST