[xsd-users] use of auto_ptr

Boris Kolpackov boris at codesynthesis.com
Wed Apr 4 08:04:42 EDT 2007


Hi Guy,

Guy Kroizman <kroiz at hyperroll.com> writes:

> still, it is not impossible to write exception-safe. hard maybe but not
> impossible.

Without throwing destructors (which is almost always the case), I
agree, "impossible" is a bit to strong a word. Let's say returning
naked pointers makes it easy to accidently write exception-unsafe
and/or leaky code.


-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070404/bd8be54e/attachment.pgp


More information about the xsd-users mailing list