Function Template reset

Description
Headers
Synopsis

Description

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.

Headers

<boost/interfaces/shared_obj.hpp>
<boost/interfaces/unique_obj.hpp>

Reference

Synopsis

namespace boost { namespace interfaces {

template<typename Interface>
void reset(const shared_obj<Interface>& obj);

template<typename Interface, typename T>
void reset(const shared_obj<Interface>& obj, T* t);

template<typename Interface, typename T, typename D>
void reset(const shared_obj<Interface>& obj, T* t, D d);

template<typename Interface>
void reset(const unique_obj<Interface>& obj);

template<typename Interface, typename T>
void reset(const unique_obj<Interface>& obj, T* t);

} } // End namespace boost::interfaces

Sha'arei Tefila, an Orthodox Shul (Synagogue) in Salt Lake City, Utah Chabad Lubavitch of Utah