|
Boost : |
From: John Maddock (jm_at_[hidden])
Date: 2003-04-12 05:26:07
>Ah! Then, grepping for that, I have found a usage for the new macro in
>tuple/detail/tuple_basic.hpp too.
Add cast.hpp to the list as well, maybe others.
> Thanks. There's just one thing I've cheated about: the above form is
> only suitable for the first parameter, as it lacks a comma.
>
> Should we have two separate macros?
>
> #ifndef BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
> # define BOOST_DUMMY_DEFAULTED_PARAM(t)
> # define BOOST_APPEND_DUMMY_DEFAULTED_PARAM(t)
> #else
> # define BOOST_DUMMY_DEFAULTED_PARAM(t) t* = 0
> # define BOOST_APPEND_DUMMY_DEFAULTED_PARAM(t) \
> , BOOST_DUMMY_DEFAULTED_PARAM(t)
> #endif
>
> or is there a better solution?
Not really, are ther really cases that require two args ?
We need these added to the config docs as well if/when they are added (into
the helper macros section).
> >As long as the authors of those libraries are prepared to use it and make
> >the necessary changes...
>
> Yeah, I can vouch for one of those libraries :-)
Good point :-)
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk