[fpc-devel] Class property and virtual getter

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Feb 28 10:36:27 CET 2014


Michael Schnell schrieb:
> On 02/28/2014 02:18 AM, Hans-Peter Diettrich wrote:
>>
>> So the lack of "Self" seems to apply to "static;" methods, not to 
>> "class" methods. I'll ask in an EMBT group for a description of 
>> "static;", the OH seems to reflect the C++ meaning only,
> 
> In ANSI C "static" with functions just means "unreachable from outside 
> the current source file" (i.e. by the linker) (I always thought this is 
> a silly name for that meaning.)
> 
> Is this different with C++ ?

Yes. Some C keywords have multiple different meanings in C++, depending 
on where they occur in source code.

DoDi




More information about the fpc-devel mailing list