Re: Problems with constructor return types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eljay Love-Jensen wrote:
Hi Tony,

C++ default constructors are...

Foo::Foo() { ... }

...not...

Foo::Foo(void) { ... }
Those two definitions are equivalent in C++. [8.3.5]/2


Also, 0.00 is type double, 0.00f is type float.
correct, but it will not cause a problem in this instance.

There is insufficient information in Tony's original email to determine
what the problem is.

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
         The voices in my head said this was stupid too
nathan@xxxxxxxxxxxxxxxx    ::     http://www.planetfall.pwp.blueyonder.co.uk



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux