Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Is " <T> " a convention always referring to Template?  (Read 756 times)

0 Members and 1 Guest are viewing this topic.

OldFangle

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Is " <T> " a convention always referring to Template?
« 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

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Is " <T> " a convention always referring to Template?
« Reply #1 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.
Laurent Gomila - SFML developer

OldFangle

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: Is " <T> " a convention always referring to Template?
« Reply #2 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