Subject: [Boost-bugs] [Boost C++ Libraries] #13452: Use of std deprecated code in C++17 in MSCV 2017
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-02-20 06:42:09
#13452: Use of std deprecated code in C++17 in MSCV 2017
--------------------------------------+----------------------------
Reporter: r.undheim@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.66.0 | Severity: Problem
Keywords: c++17 deprecated warning |
--------------------------------------+----------------------------
In Microsoft Visual C++ 2017 you have the possibility to compile with
C++17 enabled. (Have to enable this to be able to use std::optional). This
give a lot of warnings for deprecated stuff. The std::allocator<void> is
deprecated (http://en.cppreference.com/w/cpp/memory/allocator) and the
std::result_of has changed to std::invoke_result
(http://en.cppreference.com/w/cpp/types/result_of). I compile with treat
warning as errors, so this make is difficult to use the asio library.
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13452> 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 : 2018-02-20 06:46:31 UTC