G
grahamo
This is sorta how long is a piece of string type of question but here
goes.
I know there are a lot of issues/caveats around use of static
functions. e.g. if your function is static then it cannot be virtual
as this contradicts dynamic binding. Also, a static function cannot
access any attributes within the class it which it defined as the
function exists without any object instances. etc. etc.
Is there any list of such issues, caveats around anywhere? If anybody
has any more like the above, I'd love to hear them.
thanks much
GrahamO
goes.
I know there are a lot of issues/caveats around use of static
functions. e.g. if your function is static then it cannot be virtual
as this contradicts dynamic binding. Also, a static function cannot
access any attributes within the class it which it defined as the
function exists without any object instances. etc. etc.
Is there any list of such issues, caveats around anywhere? If anybody
has any more like the above, I'd love to hear them.
thanks much
GrahamO