diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 1999-10-04 08:12:38 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-10-04 08:12:38 +0000 |
| commit | 43d36c40e70660b96e7d58f04f39090aa8ce602e (patch) | |
| tree | c4269807b0fce0fd2dace52f52c7fed66591d0ab /contrib/libstdc++/stdexcepti.cc | |
| parent | bdc228c6395178f59ff23e7f7be2256840f86f8f (diff) | |
Notes
Diffstat (limited to 'contrib/libstdc++/stdexcepti.cc')
| -rw-r--r-- | contrib/libstdc++/stdexcepti.cc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/libstdc++/stdexcepti.cc b/contrib/libstdc++/stdexcepti.cc new file mode 100644 index 000000000000..3b03acd63f44 --- /dev/null +++ b/contrib/libstdc++/stdexcepti.cc @@ -0,0 +1,21 @@ +// Implementation file for Exception Support for -*- C++ -*- +// This file is part of the GNU ANSI C++ Library. + +#ifdef __GNUG__ +#pragma implementation "stdexcept" +#endif + +#include <stdexcept> + +// Entry points for string. + +void +__out_of_range (const char *s) +{ + throw out_of_range (s); +} + +void __length_error (const char *s) +{ + throw length_error (s); +} |
