Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75866 - trunk/boost/chrono/io/utility
From: vicente.botet_at_[hidden]
Date: 2011-12-08 17:58:50


Author: viboes
Date: 2011-12-08 17:58:49 EST (Thu, 08 Dec 2011)
New Revision: 75866
URL: http://svn.boost.org/trac/boost/changeset/75866

Log:
Chrono: #6241-boost::chrono compilation problems without std::wstring support
Text files modified:
   trunk/boost/chrono/io/utility/to_string.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/chrono/io/utility/to_string.hpp
==============================================================================
--- trunk/boost/chrono/io/utility/to_string.hpp (original)
+++ trunk/boost/chrono/io/utility/to_string.hpp 2011-12-08 17:58:49 EST (Thu, 08 Dec 2011)
@@ -27,10 +27,12 @@
     std::string to_string(T const&v) {
       return to_basic_string<char>(v);
     }
+#ifndef BOOST_NO_STD_WSTRING
     template <typename T>
     std::wstring to_wstring(T const&v) {
       return to_basic_string<wchar_t>(v);
     }
+#endif
 #if BOOST_CHRONO_HAS_UNICODE_SUPPORT
     template <typename T>
     std::basic_string<char16_t> to_u16string(T const&v) {


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