
1 Nov
2007
1 Nov
'07
8:19 p.m.
I saw the void_ class. However, what's the boost counterpart of my use_default class? Best, John
on Thu Nov 01 2007, John Torjo <john.groups-AT-torjo.com> wrote:
Hi all,
I know the Boost.Parameter allows advanced defaults when dealing with templated parameters - for templated classes. But shouldn't we have a simple interface, like this:
...<snip>...
if can specify only the params I want, specifying "default_" for the rest:
logger< some_formatter> l; logger< default_, some_destination> l2; logger< some_fmt, default_, shared_ptr<some_fmt> > l3;
typedef boost::parameter::void_ default_;
should give you what you want.
-- http://John.Torjo.com -- C++ expert ... call me only if you want things done right