Archived

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

The Template Blues

This topic is 5245 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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