Jump to content
  • Advertisement

Archived

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

Gaiiden

Little Template Q.

This topic is 6044 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

Okay just wondering what the syntax was to declare a template with multiple placeholders. Or can't you? I know this:
template class X
X someFunc(X x1, X x2)
{
    return 0;
}
  
but can you create other classes? Is there ever really a need to? Thx, just starting to brush up on my C++ again, I haven't touched it in so long doing other stuff... Oh and I know that "class X" goes in "<>" but cause the damn HTML is enabled... well, you get the picture _________________________________________________________________ Drew Sikora A.K.A. Gaiiden ICQ #: 70449988 AOLIM: DarkPylat Blade Edge Software Staff Member, GDNet Public Relations, Game Institute 3-time Contributing author, Game Design Methods , Charles River Media (coming GDC 2002) Online column - Design Corner at Pixelate NJ IGDA Chapter - NJ developers unite!! [Chapter Home | Chapter Forum]

Share this post


Link to post
Share on other sites
Advertisement

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