Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost parameter] misusing deduced
From: David Abrahams (dave_at_[hidden])
Date: 2009-02-23 22:02:19


on Sun Feb 22 2009, er <erwann.rogard-AT-gmail.com> wrote:

> I've realized I wasn't using deduced properly. Something like this?
>
> typedef parameter::parameters<
> parameter::required<
> parameter::deduced<tag_type>,
> is_same<mpl::_1,self_type>
> >
> > params;
>
> Should allow and ArgPack of the form ((tag = x)) or ((x)), provided x is of type
> self_type, right?

Yes, that looks right to me.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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