Objective-C++: found this FAQ at the Apple web site. Take a look at the section on Objective-C and templates. I felt almost drunk reading it. Particularly this method...
template <class TYPE>
NSString *getDesc( void) {
return [TYPE description];
}
Dynamic dispatch to a class object inside a templated method ! Wow !! Dynamic dispatch, templates, interfaces, multiple inheritance, and strong type checking all in one language. The possibilies are staggering. All it needs is blocks.
