C++ Resyntaxed

bearophile bearophileHUGS at lycos.com
Thu Mar 13 05:18:46 PDT 2008


BCS:
> > double function(int) * // pointer to function taking a double, returning an integer
> not exactly
> int  function(double) // pointer to function taking a double, returning an  integer
> I'll assume that's a typo though.  :)

I see little value in masking my ignorance among friendly people: that error of mine is part a typo (the swap of double and int) and part ignorance (the * I have put at the end). But I am learning (my point was that a better syntax like that new C++ seems more natural to me).

Bye and thank you,
bearophile



More information about the Digitalmars-d mailing list