Unified function call syntax

Manfred_Nowak svv1999 at hotmail.com
Mon Sep 8 03:09:12 PDT 2008


Denis Koroskin wrote:

> First of all, member functions can  
> not be used as Unified Function Call, only free ones.

What is the motivation for this rule?

My question is motivated by the observation, that there might be no 
functions in D, that can be called "free". This is because every 
function belongs to a `module', which can be interpreted as the 
definition of a singleton `class'.

-manfred

-- 
If life is going to exist in this Universe, then the one thing it 
cannot afford to have is a sense of proportion. (Douglas Adams)




More information about the Digitalmars-d mailing list