A const autoptr<T> can never lose ownership of its contained pointer, unless you const_cast<>() the constness away.
Reference: Exceptional C++ by Herb Sutter. Addison-Wesley, 1999, pp. 159-160.
Monday, October 25, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment