4 May 02:09
Re: [boostbook] Supporting variadic template parameters
From: Douglas Gregor <dgregor <at> osl.iu.edu>
Subject: Re: [boostbook] Supporting variadic template parameters
Newsgroups: gmane.comp.lib.boost.documentation
Date: 2008-05-04 00:09:17 GMT
Subject: Re: [boostbook] Supporting variadic template parameters
Newsgroups: gmane.comp.lib.boost.documentation
Date: 2008-05-04 00:09:17 GMT
Daniel James wrote:
> On 02/05/2008, Douglas Gregor <dgregor <at> osl.iu.edu> wrote:
>
>> I would suggest calling the attribute "parameter_pack" or "pack", rather
>> than "variadic", since it's more precise. One could even do the same for
>> <parameter name="args" pack="1">.
>>
>
> I'll do that. Would it be also be worth adding an attribute when a
> class inherits from a pack expansion?
Sure. If you want to be really pedantic, you could make sure that
BoostBook supports pack and pack-expansion attributes everywhere that
C++0x supports them, by going through the list in [temp.variadic] in the
C++0x working draft.
- Doug
RSS Feed