Re: [Boost-bugs] [Boost C++ Libraries] #10535: Multiply Defined Symbols in serialization/wserialization

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10535: Multiply Defined Symbols in serialization/wserialization
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-26 17:49:17


#10535: Multiply Defined Symbols in serialization/wserialization
-----------------------------------------------+---------------------------
  Reporter: Isaac Lascasas <isaaclascasas@…> | Owner: ramey
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.54.0 | Severity: Regression
Resolution: | Keywords:
-----------------------------------------------+---------------------------

Comment (by ramey):

 {{{
 namespace detail {
     template<class CharType>
     static inline bool is_whitespace(CharType c);

     template<>
     inline bool is_whitespace(char t){
         return 0 != std::isspace(t);
     }

     #ifndef BOOST_NO_CWCHAR
     template<>
     inline bool is_whitespace(wchar_t t){
         return 0 != std::iswspace(t);
     }
     #endif
 } // detail
 }}}

 I think that the above is the right fix - how does that work for you?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10535#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC