Jump to content
  • Advertisement

Archived

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

Prozak

The Template Blues

This topic is 5550 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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!