aboutsummaryrefslogtreecommitdiff
path: root/libstdc++/stdexcepti.cc
blob: 9c02c71f4976071b5b16e958aaf9236e150e9988 (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 std::out_of_range (s);
}

void __length_error (const char *s)
{
  throw std::length_error (s);
}