Boost logo

Boost :

Subject: Re: [boost] boost.parameter defaults
From: David Abrahams (dave_at_[hidden])
Date: 2010-07-11 13:30:47


On Jul 11, 2010, at 12:57 PM, Tim Blechmann wrote:

> hi all,
>
> i am currently having a hard time to figure out, how to use boost.parameter
> with default template arguments.
>
> now, how do i set a default parameter for one of the template arguments? it
> is either not documented, or i am missing the point, where it is explained

See http://www.boost.org/doc/libs/1_43_0/libs/parameter/doc/html/index.html#binding-intro

"Note that defaults are specified by supplying an optional third argument to binding< … >"

--
David Abrahams
BoostPro Computing
http://boostpro.com

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