Using D

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 25 04:26:52 PDT 2014


On 08/25/2014 12:53 PM, Russel Winder via Digitalmars-d wrote:
> For example:
>
> 	a + b
>
> is not a message in Java as it is in C++,  ...

error: member reference base type 'int' is not a structure or union
int main(){ (1).operator+(2); }
             ~~~^~~~~~~~~



More information about the Digitalmars-d mailing list