What do the '<...>' operators do with reference to inheritance here?
-
http://www.codeproject.com/shell/shellextguide1.asp class ATL_NO_VTABLE CSimpleShlExt : public CComObjectRootEx, public CComCoClass, I don't know what this function is inheriting. I have only seen these used in templates. Can I get some help or reading material or a better phrase to search under? Thanks
-
http://www.codeproject.com/shell/shellextguide1.asp class ATL_NO_VTABLE CSimpleShlExt : public CComObjectRootEx, public CComCoClass, I don't know what this function is inheriting. I have only seen these used in templates. Can I get some help or reading material or a better phrase to search under? Thanks
it's for templating. a quick look at msdn shows
template< class ThreadModel> class
forCComObjectRootEx
. templates are extremely useful if you have a class or function that should take in more than one object type (like a string, or an int...it saves the time of having to write multiple instances of code to handle different containers.) check out templates on msdn. :) *.* cin >> knowledge;
-
it's for templating. a quick look at msdn shows
template< class ThreadModel> class
forCComObjectRootEx
. templates are extremely useful if you have a class or function that should take in more than one object type (like a string, or an int...it saves the time of having to write multiple instances of code to handle different containers.) check out templates on msdn. :) *.* cin >> knowledge;