Template Class handle

Class Documentation

template<typename T, typename Deleter = deleter<void, void*, &::free>>
class handle

Public Types

typedef rm_ptr<T>::type &ref_t
typedef const rm_ptr<T>::type &const_ref_t

Public Functions

inline ~handle()
inline explicit handle()
inline explicit handle(T val)
inline explicit handle(const handle &from)
inline handle &operator=(const handle &from)
inline void reset(T new_val)
inline void update(T new_val)
inline operator const dummy*() const
inline T get()
inline T release()
inline void swap(handle &b)
inline T &operator->()
inline const T &operator->() const
inline ref_t operator*()
inline const_ref_t operator*() const
inline ref_t operator[](size_t idx)
inline T *operator&()