Boost logo

Boost Users :

Subject: Re: [Boost-users] [range] cannot use lambda predicate in adaptor with certain algorithms
From: Akira Takahashi (faithandbrave_at_[hidden])
Date: 2011-05-30 11:34:09


Hi, Michel.

> `#define BOOST_RESULT_OF_USE_DECLTYPE` is necessary to compile
> the above code. Without this, we have compiler errors (the oven library
> seems not fully compatible with new compilers yet).

I am Oven Library mantainer(now manager).
I think implicit BOOST_RESULT_OF_USE_DECLTYPE support shoube Boost side.
C++0x lambda hasn't result_type typedef, but
BOOST_RESULT_OF_USE_DECLTYPE needs user side define. I think
BOOST_RESULT_OF_USE_DECLTYPE is should auto define.

>>========================
Akira Takahashi
mailto:faithandbrave_at_[hidden]
blog:http://d.hatena.ne.jp/faith_and_brave/


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