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 >
C/C++ Source or Header  |  1998-06-16  |  477b  |  19 lines

  1. // string -- template string support functions
  2. #include <locale>
  3. #include <istream>
  4. _STD_BEGIN
  5.  
  6.         // report a length_error
  7. _CRTIMP2 void __cdecl _Xlen()
  8.     {_THROW(length_error, "string too long"); }
  9.  
  10.         // report an out_of_range error
  11. _CRTIMP2 void __cdecl _Xran()
  12.     {_THROW(out_of_range, "invalid string position"); }
  13. _STD_END
  14.  
  15. /*
  16.  * Copyright (c) 1995 by P.J. Plauger.  ALL RIGHTS RESERVED. 
  17.  * Consult your license regarding permissions and restrictions.
  18.  */
  19.