- this differs slightly from the one that lives in buildtools/gcc as it has been "ported" to the newer libio that haiku uses as part of its own libroot git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9906 a95241bf-73f2-0310-859d-f6bbb57e9c96
22 lines
365 B
C++
22 lines
365 B
C++
// 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);
|
|
}
|