* Vassilii Khachaturov -- Friday 25 November 2005 22:57:
> The following are still in
> > * the exception classes were lacking the copy ctors and assignment
> > operators, but the default ones for them were unusable as the string
> > instance members are not suitable for byte-by-byte copying!

But ... classes without copy/assignment operator aren't copied
byte-by-byte, but member-by-member[1]. So, for string members the
string copy constructor is used. Again, the code looks right to me
as it is.

m.


[0] Bjarne Stroustrup, "The C++ Programming Language", 2nd edition,
    p. 582, "r.12.8 Copying Class Objects"

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to