[Boost-bugs] [Boost C++ Libraries] #12586: String algorithm fails to compile using Visual Studio 2015 Update 3

Subject: [Boost-bugs] [Boost C++ Libraries] #12586: String algorithm fails to compile using Visual Studio 2015 Update 3
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-05 16:37:17


#12586: String algorithm fails to compile using Visual Studio 2015 Update 3
------------------------------+-----------------------
 Reporter: lex21@… | Owner: marshall
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: algorithm
  Version: Boost 1.62.0 | Severity: Problem
 Keywords: |
------------------------------+-----------------------
 The following fails to compile due to several compiler errors when using
 Visual Studio 2015 Update 3, compiler option /std:c++latest.
 {{{
 #include <boost/algorithm/string.hpp>
 int main()
 {
 }
 }}}

 A snippet of compile errors:
   1>boost_1_62_0\boost\algorithm\string\detail\case_conv.hpp(33): error
 C2143: syntax error: missing ',' before '<'

   1>boost_1_62_0\boost\algorithm\string\detail\case_conv.hpp(49): note:
 see reference to class template instantiation
 'boost::algorithm::detail::to_lowerF<CharT>' being compiled

   1>boost_1_62_0\boost\algorithm\string\detail\case_conv.hpp(53): error
 C2143: syntax error: missing ',' before '<'

   1>boost_1_62_0\boost\algorithm\string\detail\case_conv.hpp(69): note:
 see reference to class template instantiation
 boost::algorithm::detail::to_upperF<CharT>' being compiled

 Presumably this is because std::binary_function and std::unary_function
 are removed from C++17.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12586>
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:20 UTC