Calling a parameterless constructor from a parametered one

Grigory Zagorodnev grigory_zagorodnev@linux.intel.com
Mon Apr 18 10:59:00 GMT 2005


Fred Labrosse wrote:
>    baseClass(T val)
>       : theVal(val)
...
> //    baseClass(T val)
> //       : baseClass()

You've got two constructors with identical arguments list so them failed 
to overload.

---
Grigory



More information about the Gcc-help mailing list