
On Tue, Jul 12, 2011 at 6:51 PM, Edward Diener <eldiener@tropicsoft.com> wrote:
On 7/12/2011 5:45 PM, Jeffrey Lee Hellrung, Jr. wrote:
On Tue, Jul 12, 2011 at 8:30 AM, Edward Diener<eldiener@tropicsoft.com>wrote: [...]
TTI_TEMPLATE(yyy,(3,(class,**int,template<class,class>))) // (3) both
[...]
Isn't the above a size 4 Boost.PP Array? Or are you purposely demonstrating the ease with which the user would make mistakes with this syntax? :)
You copied it wrong from my reply. Are you purposely demonstrating the ease by which template parameters may be copied incorrectly <g> ?
Sorry... I really don't understand what this means...
You are right that it should be:
TTI_TEMPLATE(yyy,(4,(class,int,template<class,class>))) // (3) both
Despite my error in counting commas ( or addding 1 to my count ), I prefer this syntax rather than inventing a different one. I realized that it is easier presenting a pp-array than a pp-seq, as long as one can simply count commas ( unlike yours truly ).
How may commas do you count for the following case? Warning: It's a trick question ;) TTI_TEMPLATE(t, (?, (typename R, typename A0, typename A1, R (fptr)(A0, A1)))) --Lorenzo