Boost logo

Boost Users :

Subject: Re: [Boost-users] Max Boost Fusion tuple parameters
From: Igor R (boost.lists_at_[hidden])
Date: 2013-06-12 05:54:24


> I probably jumped to the conclusion that "template argument number"
> meant "number of template instantiations". Sorry for that mistake.
> I guess "template argument number" means the maximum arity of any
> template. IOW, if "template argument number" was 5, then any
> template taking over 5 arguments would cause the MSVC10/11
> compiler to diagnose an error. IOW:
>
> tuple<T1,T2,T3,T4,T5>
>
> would be OK, but:
>
> tuple<T1,T2,T3,T4,T5,T6>
>
> would cause MSV10/11 to issue a compiler error.
> Is that right?

Yes, right.

> Also, I also read somewhere that MSVC had not yet implemented
> variadic templates:

Variadic templates are implemented in the updated MSVC 11 toolchain
("Microsoft Visual C++ Compiler Nov 2012 CTP").
http://www.microsoft.com/en-us/download/details.aspx?id=35515


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net