0
Possible usage of void in templates??
template <class T> T someFunction(T arg) { ... .. ... } Is it possible to write the same code like template <class T> void someFunction(T arg) { ... .. ... } Void instead of T????
2 Réponses
+ 2
Aamir Mehmood yes it is possible to use void functions in templates