Forgot to commit last time.
[official-gcc.git] / libstdc++ / stdexcepti.cc
blob9c02c71f4976071b5b16e958aaf9236e150e9988
1 // Implementation file for Exception Support for -*- C++ -*-
2 // This file is part of the GNU ANSI C++ Library.
4 #ifdef __GNUG__
5 #pragma implementation "stdexcept"
6 #endif
8 #include <stdexcept>
10 // Entry points for string.
12 void
13 __out_of_range (const char *s)
15 throw std::out_of_range (s);
18 void __length_error (const char *s)
20 throw std::length_error (s);