home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
vc98
/
crt
/
src
/
string.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1998-06-16
|
477b
|
19 lines
// string -- template string support functions
#include <locale>
#include <istream>
_STD_BEGIN
// report a length_error
_CRTIMP2 void __cdecl _Xlen()
{_THROW(length_error, "string too long"); }
// report an out_of_range error
_CRTIMP2 void __cdecl _Xran()
{_THROW(out_of_range, "invalid string position"); }
_STD_END
/*
* Copyright (c) 1995 by P.J. Plauger. ALL RIGHTS RESERVED.
* Consult your license regarding permissions and restrictions.
*/