summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/stdexcepti.cc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-10-04 08:12:38 +0000
committerobrien <obrien@FreeBSD.org>1999-10-04 08:12:38 +0000
commit2cef6469c5bfaca5647a9b7478a519d0de7d7b64 (patch)
treec4269807b0fce0fd2dace52f52c7fed66591d0ab /contrib/libstdc++/stdexcepti.cc
parentaa3f6dfa3a994a96f224c10d1e4959d46572798b (diff)
downloadFreeBSD-src-2cef6469c5bfaca5647a9b7478a519d0de7d7b64.zip
FreeBSD-src-2cef6469c5bfaca5647a9b7478a519d0de7d7b64.tar.gz
Virgin import of EGCS 1.1.2's libstdc++
Diffstat (limited to 'contrib/libstdc++/stdexcepti.cc')
-rw-r--r--contrib/libstdc++/stdexcepti.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/libstdc++/stdexcepti.cc b/contrib/libstdc++/stdexcepti.cc
new file mode 100644
index 0000000..3b03acd
--- /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);
+}
OpenPOWER on IntegriCloud