Ticket #12353 (closed Bugs: fixed)

Opened 8 months ago

Last modified 7 weeks ago

std::unary_function is removed in c++17, but still used in hash lib

Reported by: neveralso@… Owned by: danieljames
Milestone: To Be Determined Component: hash
Version: Boost 1.61.0 Severity: Problem
Keywords: c++17 unary_function Cc:


In file boost/functional/hash/hash.hpp line 438

I compiled in Visual Studio 2015 with /std:c++latest option. Compiler reports that the unary_function is not a member of "std".

Here is the cpp doc about std::unary_function, std::unary_function is deprecated in C++11 and removed in C++17


Change History

comment:1 Changed 7 weeks ago by jeanga@…

This issue is still in Boost 1.63.0. Any ETA for a fix?

Thx! Jean

comment:2 Changed 7 weeks ago by danieljames

  • Status changed from new to closed
  • Resolution set to fixed

Sorry, I forgot to close this ticket. It's fixed in master, so it should be in Boost 1.64.0.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.