|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86113 - trunk/boost
From: steveire_at_[hidden]
Date: 2013-10-01 04:47:00
Author: skelly
Date: 2013-10-01 04:47:00 EDT (Tue, 01 Oct 2013)
New Revision: 86113
URL: http://svn.boost.org/trac/boost/changeset/86113
Log:
lexical_cast: Remove obsolete GCC version check.
Text files modified:
trunk/boost/lexical_cast.hpp | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
Modified: trunk/boost/lexical_cast.hpp
==============================================================================
--- trunk/boost/lexical_cast.hpp Tue Oct 1 04:46:45 2013 (r86112)
+++ trunk/boost/lexical_cast.hpp 2013-10-01 04:47:00 EDT (Tue, 01 Oct 2013) (r86113)
@@ -2395,16 +2395,7 @@
{
return !is_pointer<InputStreamable>::value &&
stream >> output &&
- stream.get() ==
-#if defined(__GNUC__) && (__GNUC__<3) && defined(BOOST_NO_STD_WSTRING)
-// GCC 2.9x lacks std::char_traits<>::eof().
-// We use BOOST_NO_STD_WSTRING to filter out STLport and libstdc++-v3
-// configurations, which do provide std::char_traits<>::eof().
-
- EOF;
-#else
- traits_type::eof();
-#endif
+ stream.get() == traits_type::eof();
}
bool operator>>(std::string &output)
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