summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/std/system_error
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-26 02:19:57 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-26 02:19:57 +0000
commit34e94b7c191fe37efd130155494b3fa494c3343d (patch)
treee5dcd8edd3cb91ff276d94dd9fa90b18fc5179ca /libstdc++-v3/include/std/system_error
parent286f3007d7f6f16298418190c969c8a9ecded1f6 (diff)
downloadppe42-gcc-34e94b7c191fe37efd130155494b3fa494c3343d.tar.gz
ppe42-gcc-34e94b7c191fe37efd130155494b3fa494c3343d.zip
2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out. * include/std/date_time: Likewise. * include/std/system_error: Likewise. * include/std/type_traits: Likewise; fix typo in macro name. * include/std/regex: Likewise. * include/std/random: Likewise. * include/std/unordered_map: Likewise. * include/std/condition_variable: Likewise. * include/std/unordered_set: Likewise. * include/std/mutex: Likewise. * include/std/array: Likewise. * include/c_std/cmath: Fix obsolete comment. * include/c_global/cmath: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135890 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/system_error')
-rw-r--r--libstdc++-v3/include/std/system_error16
1 files changed, 11 insertions, 5 deletions
diff --git a/libstdc++-v3/include/std/system_error b/libstdc++-v3/include/std/system_error
index ac3b1f75b61..343eb6e83f7 100644
--- a/libstdc++-v3/include/std/system_error
+++ b/libstdc++-v3/include/std/system_error
@@ -38,7 +38,7 @@
#ifndef __GXX_EXPERIMENTAL_CXX0X__
# include <c++0x_warning.h>
-#endif
+#else
#include <bits/c++config.h>
#include <bits/error_constants.h>
@@ -185,7 +185,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
template<typename charT, typename traits>
basic_ostream<charT,traits>&
- operator<<(basic_ostream<charT,traits>& os, const error_code& __code);
+ operator<<(basic_ostream<charT, traits>& os, const error_code& __code);
/// error_condition
@@ -198,14 +198,18 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
: _M_value(__v), _M_cat(__cat) { }
template<typename _ErrorEnum>
- error_condition(typename enable_if<is_error_condition_enum<_ErrorEnum>::value, _ErrorEnum>::type __v) : _M_value(__v), _M_cat(system_category) { }
+ error_condition(typename enable_if<
+ is_error_condition_enum<_ErrorEnum>::value,
+ _ErrorEnum>::type __v)
+ : _M_value(__v), _M_cat(system_category) { }
void
assign(int val, const error_category& cat);
template<typename _ErrorEnum>
error_condition&
- operator=(typename enable_if<is_error_condition_enum<_ErrorEnum>::value, _ErrorEnum>::type __v)
+ operator=(typename enable_if<is_error_condition_enum<_ErrorEnum>::value,
+ _ErrorEnum>::type __v)
{ _M_value = __v; }
void
@@ -317,5 +321,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
_GLIBCXX_END_NAMESPACE
-#endif
+#endif // __GXX_EXPERIMENTAL_CXX0X__
+
+#endif // _GLIBCXX_SYSTEM_ERROR
OpenPOWER on IntegriCloud