197403Sobrien// String support -*- C++ -*-
297403Sobrien
3169691Skan// Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc.
497403Sobrien//
597403Sobrien// This file is part of the GNU ISO C++ Library.  This library is free
697403Sobrien// software; you can redistribute it and/or modify it under the
797403Sobrien// terms of the GNU General Public License as published by the
897403Sobrien// Free Software Foundation; either version 2, or (at your option)
997403Sobrien// any later version.
1097403Sobrien
1197403Sobrien// This library is distributed in the hope that it will be useful,
1297403Sobrien// but WITHOUT ANY WARRANTY; without even the implied warranty of
1397403Sobrien// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1497403Sobrien// GNU General Public License for more details.
1597403Sobrien
1697403Sobrien// You should have received a copy of the GNU General Public License along
1797403Sobrien// with this library; see the file COPYING.  If not, write to the Free
18169691Skan// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
1997403Sobrien// USA.
2097403Sobrien
2197403Sobrien// As a special exception, you may use this file as part of a free software
2297403Sobrien// library without restriction.  Specifically, if other files instantiate
2397403Sobrien// templates or use macros or inline functions from this file, or you compile
2497403Sobrien// this file and link it with other files to produce an executable, this
2597403Sobrien// file does not by itself cause the resulting executable to be covered by
2697403Sobrien// the GNU General Public License.  This exception does not however
2797403Sobrien// invalidate any other reasons why the executable file might be covered by
2897403Sobrien// the GNU General Public License.
2997403Sobrien
3097403Sobrien/** @file stringfwd.h
3197403Sobrien *  This is an internal header file, included by other library headers.
3297403Sobrien *  You should not attempt to use it directly.
3397403Sobrien */
3497403Sobrien
35169691Skan//
36169691Skan// ISO C++ 14882: 21 Strings library
37169691Skan//
38169691Skan
39132720Skan#ifndef _STRINGFWD_H
40132720Skan#define _STRINGFWD_H 1
4197403Sobrien
4297403Sobrien#pragma GCC system_header
4397403Sobrien
4497403Sobrien#include <bits/c++config.h>
4597403Sobrien
46169691Skan_GLIBCXX_BEGIN_NAMESPACE(std)
47169691Skan
48132720Skan  template<typename _Alloc>
49107606Sobrien    class allocator;
50107606Sobrien
5197403Sobrien  template<class _CharT>
5297403Sobrien    struct char_traits;
5397403Sobrien
54132720Skan  template<typename _CharT, typename _Traits = char_traits<_CharT>,
5597403Sobrien           typename _Alloc = allocator<_CharT> >
5697403Sobrien    class basic_string;
57132720Skan
58107606Sobrien  template<> struct char_traits<char>;
5997403Sobrien
6097403Sobrien  typedef basic_string<char>    string;
61107606Sobrien
62132720Skan#ifdef _GLIBCXX_USE_WCHAR_T
63107606Sobrien  template<> struct char_traits<wchar_t>;
64107606Sobrien
6597403Sobrien  typedef basic_string<wchar_t> wstring;
66107606Sobrien#endif
6797403Sobrien
68169691Skan_GLIBCXX_END_NAMESPACE
69169691Skan
70132720Skan#endif	// _STRINGFWD_H
71