
1 Nov
2007
1 Nov
'07
7:03 p.m.
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. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com