Import GCC-8 to a new vendor branch
[dragonfly.git] / contrib / gcc-8.0 / libstdc++-v3 / src / c++11 / placeholders.cc
blob9d1761bce620badd67e8ae6ac0dd8346cccf574a
1 // std::placeholders -*- C++ -*-
3 // Copyright (C) 2011-2018 Free Software Foundation, Inc.
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.
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.
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.
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/>.
25 #if __cplusplus < 201103L
26 # error "placeholders.cc must be compiled with -std=gnu++0x"
27 #endif
29 #include <functional>
31 namespace std _GLIBCXX_VISIBILITY(default)
33 _GLIBCXX_BEGIN_NAMESPACE_VERSION
35 namespace placeholders
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{};
68 _GLIBCXX_END_NAMESPACE_VERSION