This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Non-default ctors, virtual base classes, & multiple inheritance all atonce!
- To: rlau at csc dot com, gcc at gcc dot gnu dot org
- Subject: Re: Non-default ctors, virtual base classes, & multiple inheritance all atonce!
- From: Benjamin Scherrey <scherrey at switchco dot com>
- Date: Tue, 05 Sep 2000 15:43:23 -0400
- Organization: Proteus Technologies, Inc.
- References: <OF07792A8F.C99999F6-ON86256951.006954DE@com>
- Reply-To: scherrey at switchco dot com
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!