Subject: [Boost-bugs] [Boost C++ Libraries] #12972: converter.hpp uses std::unary_function which is removed in c++17
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-04-14 21:38:02
#12972: converter.hpp uses std::unary_function which is removed in c++17
---------------------------------------+------------------------
Reporter: anonymous | Owner: apolukhin
Type: Bugs | Status: new
Milestone: To Be Determined | Component: conversion
Version: Boost 1.63.0 | Severity: Problem
Keywords: c++17, Visual Studio 2017 |
---------------------------------------+------------------------
Some code, which uses boost::lexical_cast does not compile on Windows 10
with Visual Studio 2017 Community using the compiler flag /std:c++latest
(which enables c++17 standard). From what I understand from this page
[http://en.cppreference.com/w/cpp/utility/functional/unary_function],
std::unary_function will be removed with c++17. However, struct
Trivial_converter_impl and struct rounding_converter in file converter.hpp
derive from std::unary_function
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12972> 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-04-14 21:41:03 UTC