Default value of class

Daniel Keep daniel.keep.lists at gmail.com
Sun May 20 14:40:33 PDT 2007



Jarrett Billingsley wrote:
> "David B. Held" <dheld at codelogicconsulting.com> wrote in message 
> news:f2ptar$2022$1 at digitalmars.com...
>> this looks more like VB than C++
> 
> Well, maybe VB got some things right ;) 

It's still the only language I've seen that lets me pass temporaries and
literals as reference arguments... :)

-- 
int getRandomNumber()
{
    return 4; // chosen by fair dice roll.
              // guaranteed to be random.
}

http://xkcd.com/

v2sw5+8Yhw5ln4+5pr6OFPma8u6+7Lw4Tm6+7l6+7D
i28a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP  http://hackerkey.com/



More information about the Digitalmars-d mailing list