On Wed, 23 Apr 2008 15:26:29 -0700 (PDT), ManicQin
<> wrote:
>Hi,
>I was about to buy the Standard but then I found this link
>http://www.usatlas.bnl.gov/~dladams/...14882-2003.pdf
>
>Hmmmm... ... The link seems legit so ... what gives?
>
>Thanks...
I use working drafts from
http://www.open-std.org/jtc1/sc22/wg...s/papers/2008/
Non-existent section in c++03
14.5.3 Variadic templates [temp.variadic]
1 A template parameter pack is a template parameter that accepts zero
or more template arguments. [ Example:
template<class ... Types> struct Tuple { };
Tuple<> t0; // Types contains no arguments
Tuple<int> t1; // Types contains one argument: int
Tuple<int, float> t2; // Types contains two arguments: int and float
Tuple<0> eror; // error: 0 is not a type
end example ]
this is bleeding edge c++ for you !!