$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2005-07-09 08:17:59
Rob Stewart wrote:
> From: Tobias Schwinger <tschwinger_at_[hidden]>
> 
>>Documentation preview (includes three sections):
>>
>>     http://tinyurl.com/dg68y (not yet hyperlinked)
> 
> _________________________
> Tag Types
> 
> 
>>The following code creates the type int __fastcall (int...).
>>
>>    function_type<mpl::vector<int,int>, tag<variadic,fastcall> >::type
> 
>                                 ^^^^^^^
> I suggest changing either the return type or the parameter type
> so you don't get "int,int" to make things clearer.
> 
Good point!
> 
>>Default values are selected for properties not specified by the 
>>tag. The next example creates the type of a function (variadic in 
>>this case) of the default calling convention. int(int...).
> 
> 
> Something got munged here.  Here's another try:
> 
>    The following expression produces a function type for variadic
>    functions with a first parameter of type int which return an
>    int.  Since a calling convention isn't specified, the default
>    calling convention is used.
> 
OK. But why add so much talk about the component types here?
     The following expression produces a function type for variadic function.
     Since a calling convention isn't specified, the default calling convention
     is used.
       function_type<mpl::vector<void,int>, variadic>::type // is void (int...)
Should be enough, right?
> 
>>    function_type<mpl::vector<int,int>, variadic>::type
> 
>                                 ^^^^^^^
> As before, I suggest changing the return or parameter type.
> 
> Other than that, I think the page is very good.
> 
Thanks,
Tobias