Opened 10 years ago

Closed 7 years ago

#7760 closed Bugs (fixed)

boost::decay and std::decay disagree on CV qualifiers

Reported by: jaredgrubb@… Owned by: John Maddock
Milestone: To Be Determined Component: type_traits
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

boost::decay is defined to only remove array-extents and add pointers to function-pointer types.

std::decay does that, plus an extra remove_cv on non-function-pointer types.

Is this intentional, or should boost be updated to match the C++11 STL spec?

Change History (1)

comment:1 by John Maddock, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.