
From: Tobias Schwinger <tschwinger@neoscientists.org>
Rob Stewart wrote:
From: Tobias Schwinger <tschwinger@neoscientists.org>
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?
Yes, that's fine. -- Rob Stewart stewart@sig.com Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;