X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=include%2Fc%2B%2B%2Fstl%2Fstl%2F_string_fwd.h;fp=include%2Fc%2B%2B%2Fstl%2Fstl%2F_string_fwd.h;h=15203226418329783ea053cd8cf164502a472c29;hp=0000000000000000000000000000000000000000;hb=173d8903eb9d51a4ea7d7fa3e52dc86c9bb6d4f1;hpb=b024710fe2b60cd4a42a8993b61333d6cdb56ca3 diff --git a/include/c++/stl/stl/_string_fwd.h b/include/c++/stl/stl/_string_fwd.h new file mode 100644 index 0000000..1520322 --- /dev/null +++ b/include/c++/stl/stl/_string_fwd.h @@ -0,0 +1,60 @@ +/* + * Copyright (c) 1997 + * Silicon Graphics Computer Systems, Inc. + * + * Copyright (c) 1999 + * Boris Fomitchev + * + * This material is provided "as is", with absolutely no warranty expressed + * or implied. Any use is at your own risk. + * + * Permission to use or copy this software for any purpose is hereby granted + * without fee, provided the above notices are retained on all copies. + * Permission to modify the code and to distribute modified code is granted, + * provided the above notices are retained, and a notice that the code was + * modified is included with the above copyright notice. + * + */ + +#ifndef _STLP_STRING_FWD_H +#define _STLP_STRING_FWD_H + +#ifndef _STLP_IOSFWD +# include +#endif + +_STLP_BEGIN_NAMESPACE + +#if !defined (_STLP_LIMITED_DEFAULT_TEMPLATES) +template , + class _Alloc = allocator<_CharT> > +class basic_string; +#else +template +class basic_string; +#endif /* _STLP_LIMITED_DEFAULT_TEMPLATES */ + +typedef basic_string, allocator > string; + +#if defined (_STLP_HAS_WCHAR_T) +typedef basic_string, allocator > wstring; +#endif + +_STLP_MOVE_TO_PRIV_NAMESPACE + +//This function limits header dependency between exception and string +//implementation. It is implemented in _string.h +const char* _STLP_CALL __get_c_string(const string& __str); + +_STLP_MOVE_TO_STD_NAMESPACE + +_STLP_END_NAMESPACE + +#endif /* _STLP_STRING_FWD_H */ + +// Local Variables: +// mode:C++ +// End: