mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-28 12:35:37 +08:00
da8c445d07
* stdexcepti.cc (__out_of_range): New fn. (__length_error): New fn. * std/bastring.h (OUTOFRANGE): Fix logic. Use throwing functions. (LENGTHERROR): Likewise. Revert Oct 2 changes. * string: Revert Oct 2 changes. * std/{f,d,ld}complex.h: Replace guiding fns if not -ansi. From-SVN: r15885
14 lines
238 B
C++
14 lines
238 B
C++
// Main header for the -*- C++ -*- string classes.
|
|
|
|
#ifndef __STRING__
|
|
#define __STRING__
|
|
|
|
#include <std/bastring.h>
|
|
|
|
extern "C++" {
|
|
typedef basic_string <char> string;
|
|
// typedef basic_string <wchar_t> wstring;
|
|
} // extern "C++"
|
|
|
|
#endif
|