Is there an equivalent of C++ template in Objective C 2.0?
by Jean-louis Amadi · in Torque 3D Professional · 06/12/2012 (5:28 am) · 2 replies
I wish know if we can use the "templates" of C++ in Objective C 2.0 or if there is an equivalent?
Thank you.
template <typename T>
class MyClass
{
Scope:
Attributes;
Methodes;
};If yes, have you some examples or url or tuto at this subject?Thank you.
About the author
www.gamealchemy.fr
Employee Michael Perry
ZombieShortbus
If you need to use a templated class in Objective-C, you can create it in C++ and allow parsing of C++ in an Cbjective-C++ file (.mm).