|
Boost-Commit : |
From: Alexander.Nasonov_at_[hidden]
Date: 2007-11-26 16:29:04
Author: nasonov
Date: 2007-11-26 16:29:04 EST (Mon, 26 Nov 2007)
New Revision: 41406
URL: http://svn.boost.org/trac/boost/changeset/41406
Log:
Remove redundant BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION.
Text files modified:
trunk/boost/lexical_cast.hpp | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
Modified: trunk/boost/lexical_cast.hpp
==============================================================================
--- trunk/boost/lexical_cast.hpp (original)
+++ trunk/boost/lexical_cast.hpp 2007-11-26 16:29:04 EST (Mon, 26 Nov 2007)
@@ -1117,12 +1117,9 @@
BOOST_DEDUCED_TYPENAME boost::call_traits<Source>::param_type arg,
CharT* buf, std::size_t src_len)
{
-#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
typedef BOOST_DEDUCED_TYPENAME
deduce_char_traits<CharT,Target,Source>::type traits;
-#else
- typedef std::char_traits<CharT> traits;
-#endif
+
typedef BOOST_DEDUCED_TYPENAME boost::mpl::if_c<
lcast_streambuf_for_target<Target>::value ||
lcast_streambuf_for_source<Source>::value
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