aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/streambuf
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2007-10-29 21:13:23 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2007-10-29 21:13:23 +0000
commit40abbf1f1737b16b1ae6a8d8094e825f6a3b41f2 (patch)
treedcc685cb8e3b6dcb9a78711d43471fd482c26f3a /libstdc++-v3/include/std/streambuf
parent0ba227b5a438a9122241085bc79dbdd1fcbfe13e (diff)
downloadgcc-40abbf1f1737b16b1ae6a8d8094e825f6a3b41f2.zip
gcc-40abbf1f1737b16b1ae6a8d8094e825f6a3b41f2.tar.gz
gcc-40abbf1f1737b16b1ae6a8d8094e825f6a3b41f2.tar.bz2
c++config (_GLIBCXX_DEPRECATED, [...]): New.
2007-10-29 Benjamin Kosnik <bkoz@redhat.com> * include/bits/c++config (_GLIBCXX_DEPRECATED, _GLIBCXX_USE_DEPRECATED): New. Adjust comments. * include/bits/stl_auto_ptr.h: Move... * includse/backward/auto_ptr.h: ...here. * include/bits/stl_function.h (binder1st, binder2nd, bind1st, bind2nd): Move... * include/backward/binders.h: ...here. Deprecate in C++0x. * include/tr1_impl/boost_shared_ptr.h: Guard auto_ptr usage. * include/std/memory: Same. * include/std/streambuf: Consistent use of _GLIBCXX_USE_DEPRECATED. * include/backward/strstream: Fix guard macros. * include/backward/backward_warning.h: Adjust for all new items. * config/abi/pre/gnu.ver: Export basic_streambuf::stossc. * include/Makefile.am (backward_headers): Adjust. * include/Makefile.in: Regenerate. * configure: Regenerate. From-SVN: r129733
Diffstat (limited to 'libstdc++-v3/include/std/streambuf')
-rw-r--r--libstdc++-v3/include/std/streambuf6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/include/std/streambuf b/libstdc++-v3/include/std/streambuf
index b6ec825..d5842fa 100644
--- a/libstdc++-v3/include/std/streambuf
+++ b/libstdc++-v3/include/std/streambuf
@@ -1,7 +1,7 @@
// Stream buffer classes -*- C++ -*-
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
-// Free Software Foundation, Inc.
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
+// 2006, 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
@@ -763,7 +763,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
overflow(int_type /* __c */ = traits_type::eof())
{ return traits_type::eof(); }
-#ifdef _GLIBCXX_DEPRECATED
+#if _GLIBCXX_USE_DEPRECATED
// Annex D.6
public:
/**