]> gcc.gnu.org Git - gcc.git/blame - libstdc++/stdexcepti.cc
* fix-header.c (main): Initialize cpplib.
[gcc.git] / libstdc++ / stdexcepti.cc
CommitLineData
6599da04
JM
1// Implementation file for Exception Support for -*- C++ -*-
2// This file is part of the GNU ANSI C++ Library.
3
4#ifdef __GNUG__
5#pragma implementation "stdexcept"
6#endif
7
8#include <stdexcept>
da8c445d
JM
9
10// Entry points for string.
11
12void
13__out_of_range (const char *s)
14{
3cda32a1 15 throw std::out_of_range (s);
da8c445d
JM
16}
17
18void __length_error (const char *s)
19{
3cda32a1 20 throw std::length_error (s);
da8c445d 21}
This page took 0.162376 seconds and 5 git commands to generate.