You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
477 B
18 lines
477 B
// 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.
|
|
*/
|