Destructors cannot be templates. For example:
class foo { template<class T> virtual ~foo();// error: don't try this at home! };
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|