]> 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
cbe34bb5 3// Copyright (C) 2011-2017 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{
f92ab29f 33 namespace placeholders
4192922c 34 {
12ffa228 35 _GLIBCXX_BEGIN_NAMESPACE_VERSION
4192922c
PC
36 extern const _Placeholder<1> _1{};
37 extern const _Placeholder<2> _2{};
38 extern const _Placeholder<3> _3{};
39 extern const _Placeholder<4> _4{};
40 extern const _Placeholder<5> _5{};
41 extern const _Placeholder<6> _6{};
42 extern const _Placeholder<7> _7{};
43 extern const _Placeholder<8> _8{};
44 extern const _Placeholder<9> _9{};
45 extern const _Placeholder<10> _10{};
46 extern const _Placeholder<11> _11{};
47 extern const _Placeholder<12> _12{};
48 extern const _Placeholder<13> _13{};
49 extern const _Placeholder<14> _14{};
50 extern const _Placeholder<15> _15{};
51 extern const _Placeholder<16> _16{};
52 extern const _Placeholder<17> _17{};
53 extern const _Placeholder<18> _18{};
54 extern const _Placeholder<19> _19{};
55 extern const _Placeholder<20> _20{};
56 extern const _Placeholder<21> _21{};
57 extern const _Placeholder<22> _22{};
58 extern const _Placeholder<23> _23{};
59 extern const _Placeholder<24> _24{};
60 extern const _Placeholder<25> _25{};
61 extern const _Placeholder<26> _26{};
62 extern const _Placeholder<27> _27{};
63 extern const _Placeholder<28> _28{};
64 extern const _Placeholder<29> _29{};
12ffa228 65 _GLIBCXX_END_NAMESPACE_VERSION
4192922c
PC
66 }
67}