SFML community forums

Help => General => Topic started by: OldFangle on January 22, 2015, 10:40:18 am

Title: Is " <T> " a convention always referring to Template?
Post by: OldFangle on January 22, 2015, 10:40:18 am
Hi

Just to be clear on something as I read through my lessons: When Capital T (e.g. in <T> ) is used, is that an informal or even a formal 'reserved word' referring to Templates?

OF
Title: Re: Is " <T> " a convention always referring to Template?
Post by: Laurent on January 22, 2015, 10:55:58 am
Hi

This is the SFML forum, so we try to focus on SFML topics even in the "General discussions" board. This kind of questions would be more relevant on other, more generic C++ / development forums.

To answer your question: no, it's just a convention. It's an identifier, it could be anything else.
Title: Re: Is " <T> " a convention always referring to Template?
Post by: OldFangle on January 23, 2015, 08:20:41 am
Thank you.
I'm new enough to both C++ and SFML that I don't always realise where I should first place a question about some code I don't understand.
Thanks for helping me.
OF