Boost logo

Boost :

Subject: Re: [boost] [parameter] BOOST_PARAMETER_CONSTRUCTOR bug
From: James Hirschorn (james.hirschorn_at_[hidden])
Date: 2013-06-07 20:17:45


Cromwell Enage wrote
> Hello, James.
>
> In order to enable argument deduction, you need to augment your parameter
> declaration clause with either an explicit type or a Unary Metafunction
> Class--essentially an MPL Lambda Expression--that returns mpl::true_ when
> the argument type fulfills the requirements you want to impose on it.  Try
> one the following macro invocations:
> ...

Have you tried to compile your examples? They both fail for me, with the
exact same error as the original.
Also, I have read the documentation many times, and did not notice the
requirement you mentioned.

--
View this message in context: http://boost.2283326.n4.nabble.com/parameter-BOOST-PARAMETER-CONSTRUCTOR-bug-tp4647592p4648398.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk