Boost logo

Boost :

Subject: [boost] [parameter] non-type template params
From: lcaminiti (lorcaminiti_at_[hidden])
Date: 2011-10-24 20:29:12


Hello all,

Does Boost.Parameter support named parameters for non-type template
parameters?

For example, can I use Boost.Parameter on all the template parameters below
including default_value?

template< typename Value, Value default_value = Value() >
class none { ... };

>From the docs, it seems that this is not possible but I might be missing
something:
http://www.boost.org/doc/libs/1_47_0/libs/parameter/doc/html/index.html#parameter-enabled-class-templates

Thanks a lot.
--Lorenzo

--
View this message in context: http://boost.2283326.n4.nabble.com/boost-parameter-non-type-template-params-tp3935131p3935131.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