aboutsummaryrefslogtreecommitdiff
path: root/libstdc++/stdexcepti.cc
blob: 3b03acd63f44c5a6b2e10129a4ca0444c4bbf92b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);
}