[Boost-bugs] [Boost C++ Libraries] #13306: Bimap uses std::unary_function/std::binary_function which are removed in c++17

Subject: [Boost-bugs] [Boost C++ Libraries] #13306: Bimap uses std::unary_function/std::binary_function which are removed in c++17
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-11-21 11:26:47


#13306: Bimap uses std::unary_function/std::binary_function which are removed in
c++17
---------------------------------------------+-----------------------------
 Reporter: Andy Vincent <andrew.vincent@…> | Owner: Matias
                                             | Capeletto
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: bimap
  Version: Boost 1.65.0 | Severity: Problem
 Keywords: c++17, visual studio 2017 |
---------------------------------------------+-----------------------------
 Some code, which uses boost::bimap does not compile on Windows 10 with
 Visual Studio 2017 Professional using the compiler flag /std:c++latest
 (which enables the C++17 standard).

 This is due to std::unary_function (and similar templates) being removed
 in C++17.

 A number of structures in the underlying code of boost::bimap (e.g.
 bimaps::container_adaptor::detail::comparison_adaptor,
 bimaps::relation::support::data_extractor_implementation) derive from
 std::unary_function or std::binary_function.

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13306>
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-11-21 11:32:38 UTC