[Boost-bugs] [Boost C++ Libraries] #12585: Functional fails to compile using Visual Studio 2015 Update 3

Subject: [Boost-bugs] [Boost C++ Libraries] #12585: Functional fails to compile using Visual Studio 2015 Update 3
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-05 16:21:46


#12585: Functional fails to compile using Visual Studio 2015 Update 3
------------------------------+---------------------------
 Reporter: lex21@… | Owner: no-maintainer
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: functional
  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/functional.hpp>
 int main()
 {
 }
 }}}

 A snippet of compiler errors:

   1>d:\development\libs\boost_1_62_0\boost\functional.hpp(150): error
 C2143: syntax error: missing ',' before '<'

   1> d:\development\libs\boost_1_62_0\boost\functional.hpp(163): note:
 see reference to class template instantiation
 'boost::unary_negate<Predicate>' being compiled

   1>d:\development\libs\boost_1_62_0\boost\functional.hpp(150): error
 C2518: keyword 'typename' illegal in base class list; ignored


 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/12585>
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