James Kanze
10/2/2008 7:40:00 PM
On Oct 2, 8:14 pm, Jeff Schwab <j...@schwabcenter.com> wrote:
> Ioannis Vranos wrote:
> > Victor Bazarov wrote:
> >> Ioannis Vranos wrote:
> >>> [...]
> >>> Vector vec(SIZE);
> >> Your class is missing the copy constructor.
> > Shouldn't I get a diagnostic?
> There's no diagnostic because your class actually does have a
> trivial copy constructor, provided for you by the compiler.
The copy constructor is provided by the compiler, but it's not
trivial.
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34