This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Non-default ctors, virtual base classes, & multiple inheritance all atonce!


    The templated classes have templated ctors that take a type and these
*are* called correctly and pass their type instance to all base classes. Just
in case, I explicitly added and int ctor to the template classes which were
correctly called and explicitly called the corresponding int ctors but the
results were the same. This is really throwing me.

    thanx & later,

        Ben Scherrey

rlau@csc.com wrote:

> your template class do not have a corresponding constructor that accepts
> (int) as argument.
> Check with comp.prog.c++.moderate!
>
> Good luck!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]