19 lines
459 B
C++
19 lines
459 B
C++
|
// 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.
|
||
|
*/
|