$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2008-08-22 21:57:07
on Fri Aug 22 2008, "joel falcou" <joel.falcou-AT-u-psud.fr> wrote:
> I managed to get this :
>
> template<typename Body, typename T>
> struct switch_
> {
> typedef typename find_if<Body,apply1<first<_1>,T> >::type iter_;
> typedef typename deref<iter_>::type pair_;
> typedef typename second<pair_>::type f_;
> typedef typename apply1< f_, T>::type type;
> };
>
> working properly. Seems the current swich_ use lambda<> where it shouldn't.
> Is this a known bug or is there something bound to replace switch_ in the
> near future ? SHould I fill a trac ticket about this ?
yes
-- Dave Abrahams BoostPro Computing http://www.boostpro.com