Утренник
> recent entries
> calendar
> friends
> profile
Monday, December 23rd, 2013
6:19 pm
-
FUCK
Boost.Lambda (and Boost.Phoenix v1 and v2, which were based on Boost.Lambda) implements its own result_of protocol rather than the TR1 result_of protocol, so Boost.Lambda functors will not work with anything using boost::result_of or std::tr1::result_of (as Boost.Range does).
That said, Boost.Phoenix v3, slated to be released in Boost 1.47, is the official replacement for Boost.Lambda and does implement the TR1 result_of protocol, and so does play nice with boost::result_of (and consequently Boost.Range).
полчаса мудохался
UPDATE:
добавим к этому, что #define BOOST_RESULT_OF_USE_DECLTYPE выносит лямбде мозги наружу. что ж будем использовать Феникс
(
comment on this
)
> top of page
LJ.Rossia.org