David Webber
2009-08-12 22:13:18 UTC
A debate is raging elsewhere about whether a fixed size array member - eg x
in
class A
{
int x[17];
};
will be correctly copied/assigned element by element by a default copy
constructor and assignment operator. I couldn't see it explicitly
mentioned in my (old) copy of Stroustrup.
Is there a definitive answer?
Dave
in
class A
{
int x[17];
};
will be correctly copied/assigned element by element by a default copy
constructor and assignment operator. I couldn't see it explicitly
mentioned in my (old) copy of Stroustrup.
Is there a definitive answer?
Dave
--
David Webber
Author of 'Mozart the Music Processor'
http://www.mozart.co.uk
For discussion/support see
http://www.mozart.co.uk/mozartists/mailinglist.htm
David Webber
Author of 'Mozart the Music Processor'
http://www.mozart.co.uk
For discussion/support see
http://www.mozart.co.uk/mozartists/mailinglist.htm