Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86110 - in trunk/boost/format: . detail
From: steveire_at_[hidden]
Date: 2013-10-01 04:46:13


Author: skelly
Date: 2013-10-01 04:46:12 EDT (Tue, 01 Oct 2013)
New Revision: 86110
URL: http://svn.boost.org/trac/boost/changeset/86110

Log:
Format: Remove obsolete GCC version checks.

Text files modified:
   trunk/boost/format/detail/config_macros.hpp | 6 ------
   trunk/boost/format/format_fwd.hpp | 10 ++--------
   2 files changed, 2 insertions(+), 14 deletions(-)

Modified: trunk/boost/format/detail/config_macros.hpp
==============================================================================
--- trunk/boost/format/detail/config_macros.hpp Tue Oct 1 04:43:30 2013 (r86109)
+++ trunk/boost/format/detail/config_macros.hpp 2013-10-01 04:46:12 EDT (Tue, 01 Oct 2013) (r86110)
@@ -49,12 +49,6 @@
 #define BOOST_NO_OVERLOAD_FOR_NON_CONST
 #endif
 
-// gcc-2.95's native stringstream is not usable
-#if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
-#define BOOST_FORMAT_IGNORE_STRINGSTREAM
-#endif
-
-
 // **** Workaround for io streams, stlport and msvc.
 #ifdef BOOST_IO_NEEDS_USING_DECLARATION
 namespace boost {

Modified: trunk/boost/format/format_fwd.hpp
==============================================================================
--- trunk/boost/format/format_fwd.hpp Tue Oct 1 04:43:30 2013 (r86109)
+++ trunk/boost/format/format_fwd.hpp 2013-10-01 04:46:12 EDT (Tue, 01 Oct 2013) (r86110)
@@ -21,18 +21,12 @@
 namespace boost {
 
     template <class Ch,
-#if !( BOOST_WORKAROUND(__GNUC__, <3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) )
- // gcc-2.95's native stdlid needs special treatment
- class Tr = BOOST_IO_STD char_traits<Ch>, class Alloc = std::allocator<Ch> >
-#else
- class Tr = std::string_char_traits<Ch>, class Alloc = std::alloc >
-#endif
+ class Tr = BOOST_IO_STD char_traits<Ch>, class Alloc = std::allocator<Ch> >
     class basic_format;
 
     typedef basic_format<char > format;
 
-#if !defined(BOOST_NO_STD_WSTRING) && !defined(BOOST_NO_STD_WSTREAMBUF) \
- && !defined(BOOST_FORMAT_IGNORE_STRINGSTREAM)
+#if !defined(BOOST_NO_STD_WSTRING) && !defined(BOOST_NO_STD_WSTREAMBUF)
     typedef basic_format<wchar_t > wformat;
 #endif
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk