aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/stdexcept
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2007-05-11 16:05:57 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2007-05-11 16:05:57 +0000
commit8339896e55eb0538ddf35cb22f7de5b5b126259c (patch)
tree4aaa89fca6241f650b729323cec27a532bf9f7dd /libstdc++-v3/include/std/stdexcept
parent23f24034cb6330d53e3fa915dd3fd66409608ab6 (diff)
downloadgcc-8339896e55eb0538ddf35cb22f7de5b5b126259c.zip
gcc-8339896e55eb0538ddf35cb22f7de5b5b126259c.tar.gz
gcc-8339896e55eb0538ddf35cb22f7de5b5b126259c.tar.bz2
stdexcept: Remove extra spacing.
2007-05-11 Benjamin Kosnik <bkoz@redhat.com> * include/std/stdexcept: Remove extra spacing. * testsuite/19_diagnostics/stdexceptions.cc: Break into... * testsuite/19_diagnostics/bad_exception: ...this. Populate. * testsuite/19_diagnostics/logic_error: ... this. * testsuite/19_diagnostics/logic_error/what-1.cc: ...this. * testsuite/19_diagnostics/logic_error/what-2.cc: ...this. * testsuite/19_diagnostics/runtime_error: ...this. * testsuite/19_diagnostics/runtime_error/what-1.cc: ...this. * testsuite/19_diagnostics/runtime_error/what-2.cc: ...this. * testsuite/19_diagnostics/runtime_error/what-3.cc: ...this. * testsuite/19_diagnostics/23591_thread-1.c: Move... * testsuite/19_diagnostics/bad_exception/23591_thread-1.c: ...here. From-SVN: r124621
Diffstat (limited to 'libstdc++-v3/include/std/stdexcept')
-rw-r--r--libstdc++-v3/include/std/stdexcept20
1 files changed, 10 insertions, 10 deletions
diff --git a/libstdc++-v3/include/std/stdexcept b/libstdc++-v3/include/std/stdexcept
index d246428..e47adb3 100644
--- a/libstdc++-v3/include/std/stdexcept
+++ b/libstdc++-v3/include/std/stdexcept
@@ -1,6 +1,6 @@
// Standard exception classes -*- C++ -*-
-// Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2005, 2007 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -57,7 +57,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
public:
/** Takes a character string describing the error. */
explicit
- logic_error(const string& __arg);
+ logic_error(const string& __arg);
virtual
~logic_error() throw();
@@ -73,14 +73,14 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
class domain_error : public logic_error
{
public:
- explicit domain_error(const string& __arg);
+ explicit domain_error(const string& __arg);
};
/** Thrown to report invalid arguments to functions. */
class invalid_argument : public logic_error
{
public:
- explicit invalid_argument(const string& __arg);
+ explicit invalid_argument(const string& __arg);
};
/** Thrown when an object is constructed that would exceed its maximum
@@ -88,7 +88,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
class length_error : public logic_error
{
public:
- explicit length_error(const string& __arg);
+ explicit length_error(const string& __arg);
};
/** This represents an argument whose value is not within the expected
@@ -96,7 +96,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
class out_of_range : public logic_error
{
public:
- explicit out_of_range(const string& __arg);
+ explicit out_of_range(const string& __arg);
};
/** Runtime errors represent problems outside the scope of a program;
@@ -111,7 +111,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
public:
/** Takes a character string describing the error. */
explicit
- runtime_error(const string& __arg);
+ runtime_error(const string& __arg);
virtual
~runtime_error() throw();
@@ -126,21 +126,21 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
class range_error : public runtime_error
{
public:
- explicit range_error(const string& __arg);
+ explicit range_error(const string& __arg);
};
/** Thrown to indicate arithmetic overflow. */
class overflow_error : public runtime_error
{
public:
- explicit overflow_error(const string& __arg);
+ explicit overflow_error(const string& __arg);
};
/** Thrown to indicate arithmetic underflow. */
class underflow_error : public runtime_error
{
public:
- explicit underflow_error(const string& __arg);
+ explicit underflow_error(const string& __arg);
};
_GLIBCXX_END_NAMESPACE