Source code of Windows XP (NT5)
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
459 B

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