SmartHandle 类

智能句柄类。

成员

SmartHandle

语法: public inline SmartHandle ( T handle );

~SmartHandle

语法: public inline ~SmartHandle ( );

运算符 T&

语法: public inline explicit operator T& ( ) const;

get

语法: public inline T get ( ) const;

运算符 T

语法: public inline operator T ( ) const;

operator&

语法: public inline T * operator& ( );

reset

语法: public inline void reset ( );