reset
The function template reset frees the object, if any, bound to an instance of shared_obj or unique_obj, and optionally specifies an new object to be bound.
<boost/interfaces/shared_obj.hpp><boost/interfaces/unique_obj.hpp>namespace boost { namespace interfaces { template<typename Interface>voidreset(const shared_obj<Interface>& obj); template<typename Interface, typename T>voidreset(const shared_obj<Interface>& obj, T* t); template<typename Interface, typename T, typename D>voidreset(const shared_obj<Interface>& obj, T* t, D d); template<typename Interface>voidreset(const unique_obj<Interface>& obj); template<typename Interface, typename T>voidreset(const unique_obj<Interface>& obj, T* t); } } // End namespace boost::interfaces
Revised 20 Jan, 2005
© Copyright Jonathan Turkanis, 2005. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Sha'arei Tefila, an Orthodox Shul (Synagogue) in Salt Lake City, Utah Chabad Lubavitch of Utah