Re: Calling a parameterless constructor from a parametered one

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

 



Fred Labrosse wrote:
All,

Could somebody tell me why the commented out constructor in the attached code doesn't compile (it doesn't make sense to do that in this example, but it would do in some code I'm currently writing ;-).

C++ does not (yet) have forwarding constructors, which is what you're trying to do.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
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