summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/std
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-12 10:12:09 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-12 10:12:09 +0000
commite6829c6a44ba000f53c8d5042c0bee98e703585f (patch)
tree41b52d3d4f93410db79eb0ebfe0efa16fb7614e1 /libstdc++-v3/include/std
parent261e29f4fb4c409c904c3cfcc5af469a137adb83 (diff)
downloadppe42-gcc-e6829c6a44ba000f53c8d5042c0bee98e703585f.tar.gz
ppe42-gcc-e6829c6a44ba000f53c8d5042c0bee98e703585f.zip
2003-10-12 Paolo Carlini <pcarlini@unitus.it>
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment. * include/bits/basic_string.tcc: Likewise. * include/bits/ios_base.h: Likewise. * include/bits/istream.tcc: Likewise. * include/bits/locale_facets.tcc: Likewise. * include/bits/ostream.tcc: Likewise. * include/bits/stl_function.h: Likewise. * include/bits/stl_multiset.h: Likewise. * include/bits/stl_pair.h: Likewise. * include/bits/stl_set.h: Likewise. * include/bits/streambuf_iterator.h * include/std/std_iosfwd.h: Likewise. * include/std/std_istream.h: Likewise. * include/std/std_sstream.h: Likewise. * include/std/std_streambuf.h: Likewise. * src/ios.cc: Likewise. * include/bits/c++config: Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1. * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a dg-error directive due to removal of a blank line. * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72392 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std')
-rw-r--r--libstdc++-v3/include/std/std_iosfwd.h3
-rw-r--r--libstdc++-v3/include/std/std_istream.h5
-rw-r--r--libstdc++-v3/include/std/std_sstream.h20
-rw-r--r--libstdc++-v3/include/std/std_streambuf.h3
4 files changed, 12 insertions, 19 deletions
diff --git a/libstdc++-v3/include/std/std_iosfwd.h b/libstdc++-v3/include/std/std_iosfwd.h
index 0d275a77e27..71288b5b404 100644
--- a/libstdc++-v3/include/std/std_iosfwd.h
+++ b/libstdc++-v3/include/std/std_iosfwd.h
@@ -100,10 +100,9 @@ namespace std
template<typename _CharT, typename _Traits = char_traits<_CharT> >
class ostreambuf_iterator;
-#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
+ // _GLIBCXX_RESOLVE_LIB_DEFECTS
// Not included. (??? Apparently no LWG number?)
class ios_base;
-#endif
/**
* @defgroup s27_2_iosfwd I/O Forward Declarations
diff --git a/libstdc++-v3/include/std/std_istream.h b/libstdc++-v3/include/std/std_istream.h
index ce4e61168ce..f22b503d6c6 100644
--- a/libstdc++-v3/include/std/std_istream.h
+++ b/libstdc++-v3/include/std/std_istream.h
@@ -705,15 +705,14 @@ namespace std
public basic_ostream<_CharT, _Traits>
{
public:
-#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
-// 271. basic_iostream missing typedefs
+ // _GLIBCXX_RESOLVE_LIB_DEFECTS
+ // 271. basic_iostream missing typedefs
// Types (inherited):
typedef _CharT char_type;
typedef typename _Traits::int_type int_type;
typedef typename _Traits::pos_type pos_type;
typedef typename _Traits::off_type off_type;
typedef _Traits traits_type;
-#endif
// Non-standard Types:
typedef basic_istream<_CharT, _Traits> __istream_type;
diff --git a/libstdc++-v3/include/std/std_sstream.h b/libstdc++-v3/include/std/std_sstream.h
index c856eb03101..a2ffcef0ca5 100644
--- a/libstdc++-v3/include/std/std_sstream.h
+++ b/libstdc++-v3/include/std/std_sstream.h
@@ -65,10 +65,9 @@ namespace std
// Types:
typedef _CharT char_type;
typedef _Traits traits_type;
-#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
-// 251. basic_stringbuf missing allocator_type
+ // _GLIBCXX_RESOLVE_LIB_DEFECTS
+ // 251. basic_stringbuf missing allocator_type
typedef _Alloc allocator_type;
-#endif
typedef typename traits_type::int_type int_type;
typedef typename traits_type::pos_type pos_type;
typedef typename traits_type::off_type off_type;
@@ -304,10 +303,9 @@ namespace std
// Types:
typedef _CharT char_type;
typedef _Traits traits_type;
-#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
-// 251. basic_stringbuf missing allocator_type
+ // _GLIBCXX_RESOLVE_LIB_DEFECTS
+ // 251. basic_stringbuf missing allocator_type
typedef _Alloc allocator_type;
-#endif
typedef typename traits_type::int_type int_type;
typedef typename traits_type::pos_type pos_type;
typedef typename traits_type::off_type off_type;
@@ -423,10 +421,9 @@ namespace std
// Types:
typedef _CharT char_type;
typedef _Traits traits_type;
-#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
-// 251. basic_stringbuf missing allocator_type
+ // _GLIBCXX_RESOLVE_LIB_DEFECTS
+ // 251. basic_stringbuf missing allocator_type
typedef _Alloc allocator_type;
-#endif
typedef typename traits_type::int_type int_type;
typedef typename traits_type::pos_type pos_type;
typedef typename traits_type::off_type off_type;
@@ -542,10 +539,9 @@ namespace std
// Types:
typedef _CharT char_type;
typedef _Traits traits_type;
-#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
-// 251. basic_stringbuf missing allocator_type
+ // _GLIBCXX_RESOLVE_LIB_DEFECTS
+ // 251. basic_stringbuf missing allocator_type
typedef _Alloc allocator_type;
-#endif
typedef typename traits_type::int_type int_type;
typedef typename traits_type::pos_type pos_type;
typedef typename traits_type::off_type off_type;
diff --git a/libstdc++-v3/include/std/std_streambuf.h b/libstdc++-v3/include/std/std_streambuf.h
index dc43db0bddf..e8a4992e21d 100644
--- a/libstdc++-v3/include/std/std_streambuf.h
+++ b/libstdc++-v3/include/std/std_streambuf.h
@@ -764,14 +764,13 @@ namespace std
}
#endif
-#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
+ // _GLIBCXX_RESOLVE_LIB_DEFECTS
// Side effect of DR 50.
private:
basic_streambuf(const __streambuf_type&) { };
__streambuf_type&
operator=(const __streambuf_type&) { return *this; };
-#endif
};
} // namespace std
OpenPOWER on IntegriCloud