Boost logo

Boost Users :

Subject: [Boost-users] BOOST_RESULT_OF_USE_DECLTYPE not default on C++11 compilers
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2012-01-25 21:42:14


At least on GCC 4.6 in C++0x (C++11) mode, BOOST_RESULT_OF_USE_DECLTYPE is
not set by default, preventing classes such as boost::transform_iterator
from working on built-in lambda expressions. Is there a reason that the
use of decltype is not on by default for compilers that support it,
perhaps with a flag to force emulation mode (like Boost.Move supports)?

-- Jeremiah Willcock


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net