OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2011-07-20 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git]
/
libstdc++-v3
/
include
/
std
/
stdexcept
diff --git
a/libstdc++-v3/include/std/stdexcept
b/libstdc++-v3/include/std/stdexcept
index
62c5578
..
a461795
100644
(file)
--- a/
libstdc++-v3/include/std/stdexcept
+++ b/
libstdc++-v3/include/std/stdexcept
@@
-1,6
+1,6
@@
// Standard exception classes -*- C++ -*-
// Standard exception classes -*- C++ -*-
-// Copyright (C) 2001, 2002, 2005, 2007, 2009, 2010
+// Copyright (C) 2001, 2002, 2005, 2007, 2009, 2010
, 2011
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@
-39,7
+39,9
@@
#include <exception>
#include <string>
#include <exception>
#include <string>
-_GLIBCXX_BEGIN_NAMESPACE(std)
+namespace std _GLIBCXX_VISIBILITY(default)
+{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* @addtogroup exceptions
/**
* @addtogroup exceptions
@@
-60,8
+62,7
@@
_GLIBCXX_BEGIN_NAMESPACE(std)
explicit
logic_error(const string& __arg);
explicit
logic_error(const string& __arg);
- virtual
- ~logic_error() throw();
+ virtual ~logic_error() throw();
/** Returns a C-style character string describing the general cause of
* the current error (the same string passed to the ctor). */
/** Returns a C-style character string describing the general cause of
* the current error (the same string passed to the ctor). */
@@
-75,6
+76,7
@@
_GLIBCXX_BEGIN_NAMESPACE(std)
{
public:
explicit domain_error(const string& __arg);
{
public:
explicit domain_error(const string& __arg);
+ virtual ~domain_error() throw();
};
/** Thrown to report invalid arguments to functions. */
};
/** Thrown to report invalid arguments to functions. */
@@
-82,6
+84,7
@@
_GLIBCXX_BEGIN_NAMESPACE(std)
{
public:
explicit invalid_argument(const string& __arg);
{
public:
explicit invalid_argument(const string& __arg);
+ virtual ~invalid_argument() throw();
};
/** Thrown when an object is constructed that would exceed its maximum
};
/** Thrown when an object is constructed that would exceed its maximum
@@
-90,6
+93,7
@@
_GLIBCXX_BEGIN_NAMESPACE(std)
{
public:
explicit length_error(const string& __arg);
{
public:
explicit length_error(const string& __arg);
+ virtual ~length_error() throw();
};
/** This represents an argument whose value is not within the expected
};
/** This represents an argument whose value is not within the expected
@@
-98,6
+102,7
@@
_GLIBCXX_BEGIN_NAMESPACE(std)
{
public:
explicit out_of_range(const string& __arg);
{
public:
explicit out_of_range(const string& __arg);
+ virtual ~out_of_range() throw();
};
/** Runtime errors represent problems outside the scope of a program;
};
/** Runtime errors represent problems outside the scope of a program;
@@
-114,8
+119,7
@@
_GLIBCXX_BEGIN_NAMESPACE(std)
explicit
runtime_error(const string& __arg);
explicit
runtime_error(const string& __arg);
- virtual
- ~runtime_error() throw();
+ virtual ~runtime_error() throw();
/** Returns a C-style character string describing the general cause of
* the current error (the same string passed to the ctor). */
/** Returns a C-style character string describing the general cause of
* the current error (the same string passed to the ctor). */
@@
-128,6
+132,7
@@
_GLIBCXX_BEGIN_NAMESPACE(std)
{
public:
explicit range_error(const string& __arg);
{
public:
explicit range_error(const string& __arg);
+ virtual ~range_error() throw();
};
/** Thrown to indicate arithmetic overflow. */
};
/** Thrown to indicate arithmetic overflow. */
@@
-135,6
+140,7
@@
_GLIBCXX_BEGIN_NAMESPACE(std)
{
public:
explicit overflow_error(const string& __arg);
{
public:
explicit overflow_error(const string& __arg);
+ virtual ~overflow_error() throw();
};
/** Thrown to indicate arithmetic underflow. */
};
/** Thrown to indicate arithmetic underflow. */
@@
-142,10
+148,12
@@
_GLIBCXX_BEGIN_NAMESPACE(std)
{
public:
explicit underflow_error(const string& __arg);
{
public:
explicit underflow_error(const string& __arg);
+ virtual ~underflow_error() throw();
};
// @} group exceptions
};
// @} group exceptions
-_GLIBCXX_END_NAMESPACE
+_GLIBCXX_END_NAMESPACE_VERSION
+} // namespace
#endif /* _GLIBCXX_STDEXCEPT */
#endif /* _GLIBCXX_STDEXCEPT */