xref: /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/cow-string-inst.cc (revision b1e838363e3c6fc78a55519254d99869742dd33c)
1181254a7Smrg // Reference-counted COW string instantiations for C++17 -*- C++ -*-
2181254a7Smrg 
3*b1e83836Smrg // Copyright (C) 2019-2022 Free Software Foundation, Inc.
4181254a7Smrg //
5181254a7Smrg // This file is part of the GNU ISO C++ Library.  This library is free
6181254a7Smrg // software; you can redistribute it and/or modify it under the
7181254a7Smrg // terms of the GNU General Public License as published by the
8181254a7Smrg // Free Software Foundation; either version 3, or (at your option)
9181254a7Smrg // any later version.
10181254a7Smrg 
11181254a7Smrg // This library is distributed in the hope that it will be useful,
12181254a7Smrg // but WITHOUT ANY WARRANTY; without even the implied warranty of
13181254a7Smrg // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14181254a7Smrg // GNU General Public License for more details.
15181254a7Smrg 
16181254a7Smrg // Under Section 7 of GPL version 3, you are granted additional
17181254a7Smrg // permissions described in the GCC Runtime Library Exception, version
18181254a7Smrg // 3.1, as published by the Free Software Foundation.
19181254a7Smrg 
20181254a7Smrg // You should have received a copy of the GNU General Public License and
21181254a7Smrg // a copy of the GCC Runtime Library Exception along with this program;
22181254a7Smrg // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
23181254a7Smrg // <http://www.gnu.org/licenses/>.
24181254a7Smrg 
25181254a7Smrg //
26181254a7Smrg // ISO C++ 14882:2017 24  Strings library
27181254a7Smrg //
28181254a7Smrg 
29181254a7Smrg #define _GLIBCXX_USE_CXX11_ABI 0
30181254a7Smrg #include "string-inst.cc"
31181254a7Smrg 
32181254a7Smrg #if ! _GLIBCXX_USE_DUAL_ABI
33181254a7Smrg # error This file should not be compiled for this configuration.
34181254a7Smrg #endif
35