Opened 10 years ago

Closed 9 years ago

#8188 closed Bugs (worksforme)

boost/type_traits.hpp should define 'conditional' in c++ 2011.

Reported by: edupuis Owned by: John Maddock
Milestone: To Be Determined Component: type_traits
Version: Boost 1.53.0 Severity: Problem
Keywords: Cc:

Description

From a message posted on the Boost mailing list on February 27.

Template boost::conditional is defined by

#include "boost/type_traits/conditional.cpp"

Indeed, type_traits accepted in TR1 did not included 'conditional'.

However, C++2011 adds it, hence it is expected that when compiling in C++2011 mode, the following include

#include "boost/type_traits.hpp"

would indeed define 'conditional' (by including conditional.hpp for example).

Change History (3)

comment:1 by edupuis, 10 years ago

N2240 also talks of 'enable_if'.

comment:2 by viboes, 10 years ago

[65575] included it in trunk and merged already to release at least in 1.53. What am I missing?

comment:3 by John Maddock, 9 years ago

Resolution: worksforme
Status: newclosed

Looks present and correct to me.

Note: See TracTickets for help on using tickets.