mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 16:35:30 +08:00
3cda32a10b
* stdexcepti.cc (__out_of_range): Use std:: qualifier for names in std. (__length_error): Likewise. From-SVN: r28117
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);
|
|
}
|