Archived

This topic is now archived and is closed to further replies.

Prozak

The Template Blues

Recommended Posts

Prozak    898
Hi all, In a temaplte you do csomething like this: TC IC; TC=Template Class; C=Class; IC=Instance of Class But what if I want to do a nested template declaration? TC1> IC; This gives me lots of errors? Is it plain out impossible, or is there a trick for it? Thanks,

[Hugo Ferreira][Positronic Dreams]
I Am Digerati.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
Yeah, that''s it.

Instead of


TC<TC2<C>> IC;


you need to do


TC<TC2<C> > IC;


to separate it from the bit shift operator.

Share this post


Link to post
Share on other sites