Re: Calling a parameterless constructor from a parametered one

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

 



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

[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