Re: Detecting static or non-static member function?
"A. Schroeder" <email@example.com> wrote...
> yes I know it is a very silly question, but can I have a mechanism that
> uses implementation A if used in a static member function, and
> implementation B if it is a non-static member function?
> Meaning if I have
> class Example
> static void foo()
> void bar()
> is there some expression XXX that is same in both functions, legal,
> but evaluates to something different?
Can't think of anything at the moment, but have a question: why do
you think you need that?
|All times are GMT. The time now is 10:13 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.