diff --git a/Doc/Manual/Cpp0x.html b/Doc/Manual/Cpp0x.html index fa895cc6b..0200fdf5c 100644 --- a/Doc/Manual/Cpp0x.html +++ b/Doc/Manual/Cpp0x.html @@ -511,23 +511,27 @@ public: } -
Support for the variadic sizeof() function was also introduced:
- --const int SIZE = sizeof...(ClassName<int, int>); -
For now however, the %template directive only accepts one parameter substitution for the variable template parameters.
-%template(MyVariant1) ClassName<> // zero argument not supported +%template(MyVariant1) ClassName<> // zero argument not supported yet %template(MyVariant2) ClassName<int> // ok -%template(MyVariant3) ClassName<int, int> // too many arguments +%template(MyVariant3) ClassName<int, int> // too many arguments not supported yet
Support for the variadic sizeof() function is correctly parsed:
+ ++const int SIZE = sizeof...(ClassName<int, int>); +
+In the above example SIZE is of course wrapped as a constant. +
+