1251875Speter// Reference-counted COW string instantiations -*- C++ -*-
2251875Speter
3251875Speter// Copyright (C) 2014-2020 Free Software Foundation, Inc.
4251875Speter//
5251875Speter// This file is part of the GNU ISO C++ Library.  This library is free
6251875Speter// software; you can redistribute it and/or modify it under the
7251875Speter// terms of the GNU General Public License as published by the
8251875Speter// Free Software Foundation; either version 3, or (at your option)
9251875Speter// any later version.
10251875Speter
11251875Speter// This library is distributed in the hope that it will be useful,
12251875Speter// but WITHOUT ANY WARRANTY; without even the implied warranty of
13251875Speter// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14251875Speter// GNU General Public License for more details.
15251875Speter
16251875Speter// Under Section 7 of GPL version 3, you are granted additional
17251875Speter// permissions described in the GCC Runtime Library Exception, version
18251875Speter// 3.1, as published by the Free Software Foundation.
19251875Speter
20251875Speter// You should have received a copy of the GNU General Public License and
21251875Speter// a copy of the GCC Runtime Library Exception along with this program;
22251875Speter// see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
23251875Speter// <http://www.gnu.org/licenses/>.
24251875Speter
25251875Speter//
26251875Speter// ISO C++ 14882: 21  Strings library
27251875Speter//
28251875Speter
29251875Speter#define _GLIBCXX_USE_CXX11_ABI 0
30251875Speter#include "string-inst.cc"
31251875Speter
32251875Speter#if ! _GLIBCXX_USE_DUAL_ABI
33251875Speter# error This file should not be compiled for this configuration.
34251875Speter#endif
35251875Speter
36251875Speter#ifdef  _GLIBCXX_USE_C99_STDINT_TR1
37251875Speter#include <random>
38251875Speter
39251875Speternamespace std _GLIBCXX_VISIBILITY(default)
40251875Speter{
41251875Speter  void
42251875Speter  random_device::_M_init(const std::string& token)
43251875Speter  { _M_init(token.c_str(), token.length()); }
44251875Speter
45251875Speter  void
46251875Speter  random_device::_M_init_pretr1(const std::string& token)
47251875Speter  { _M_init(token.c_str(), token.length()); }
48251875Speter} // namespace
49251875Speter#endif
50251875Speter