]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/src/c++11/placeholders.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / src / c++11 / placeholders.cc
CommitLineData
4192922c
PC
1// std::placeholders -*- C++ -*-
2
a945c346 3// Copyright (C) 2011-2024 Free Software Foundation, Inc.
4192922c
PC
4//
5// This file is part of the GNU ISO C++ Library. This library is free
6// software; you can redistribute it and/or modify it under the
7// terms of the GNU General Public License as published by the
8// Free Software Foundation; either version 3, or (at your option)
9// any later version.
10
11// This library is distributed in the hope that it will be useful,
12// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14// GNU General Public License for more details.
15
16// Under Section 7 of GPL version 3, you are granted additional
17// permissions described in the GCC Runtime Library Exception, version
18// 3.1, as published by the Free Software Foundation.
19
20// You should have received a copy of the GNU General Public License and
21// a copy of the GCC Runtime Library Exception along with this program;
22// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
23// <http://www.gnu.org/licenses/>.
24
734f5023 25#if __cplusplus < 201103L
4192922c
PC
26# error "placeholders.cc must be compiled with -std=gnu++0x"
27#endif
28
29#include <functional>
30
12ffa228 31namespace std _GLIBCXX_VISIBILITY(default)
4192922c 32{
4a15d842
FD
33_GLIBCXX_BEGIN_NAMESPACE_VERSION
34
f92ab29f 35 namespace placeholders
4192922c
PC
36 {
37 extern const _Placeholder<1> _1{};
38 extern const _Placeholder<2> _2{};
39 extern const _Placeholder<3> _3{};
40 extern const _Placeholder<4> _4{};
41 extern const _Placeholder<5> _5{};
42 extern const _Placeholder<6> _6{};
43 extern const _Placeholder<7> _7{};
44 extern const _Placeholder<8> _8{};
45 extern const _Placeholder<9> _9{};
46 extern const _Placeholder<10> _10{};
47 extern const _Placeholder<11> _11{};
48 extern const _Placeholder<12> _12{};
49 extern const _Placeholder<13> _13{};
50 extern const _Placeholder<14> _14{};
51 extern const _Placeholder<15> _15{};
52 extern const _Placeholder<16> _16{};
53 extern const _Placeholder<17> _17{};
54 extern const _Placeholder<18> _18{};
55 extern const _Placeholder<19> _19{};
56 extern const _Placeholder<20> _20{};
57 extern const _Placeholder<21> _21{};
58 extern const _Placeholder<22> _22{};
59 extern const _Placeholder<23> _23{};
60 extern const _Placeholder<24> _24{};
61 extern const _Placeholder<25> _25{};
62 extern const _Placeholder<26> _26{};
63 extern const _Placeholder<27> _27{};
64 extern const _Placeholder<28> _28{};
65 extern const _Placeholder<29> _29{};
66 }
4a15d842
FD
67
68_GLIBCXX_END_NAMESPACE_VERSION
4192922c 69}