Non-default ctors, virtual base classes, & multiple inheritance all atonce!
Benjamin Scherrey
scherrey@switchco.com
Tue Sep 5 13:00:00 GMT 2000
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!
More information about the Gcc
mailing list