From: DeMarcus on 29 Dec 2009 12:44 > * Sorry for the obtuse language; OBJHANDLE is intentionally not > directly associated with the type of the class it identifies, because > it's imperative that those class instances not be used without > checking for their validity. If I go ahead and call it a pointer, then > confusion would arise based on the assumption that it's already > directly usable as such. Hence the term "handle". I'm open to > becoming familiarized with clearer language and/or terminology. > Instead of OBJHANDLE, what about call it an OBJ_PROXY? http://en.wikipedia.org/wiki/Proxy_pattern -- [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ]
From: DeMarcus on 20 Jan 2010 17:43 > * Sorry for the obtuse language; OBJHANDLE is intentionally not > directly associated with the type of the class it identifies, because > it's imperative that those class instances not be used without > checking for their validity. If I go ahead and call it a pointer, then > confusion would arise based on the assumption that it's already > directly usable as such. Hence the term "handle". I'm open to > becoming familiarized with clearer language and/or terminology. > Or maybe you could call it an OBJ_MONIKER. http://whatis.techtarget.com/definition/0,,sid9_gci293695,00.html http://msdn.microsoft.com/en-us/library/ms691261%28VS.85%29.aspx -- [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ]
First
|
Prev
|
Pages: 1 2 3 4 Prev: [ANN] CLI 1.1.0 released Next: ISO C++ forbids initialization in array new |