TAO
2.1.6
|
TAO_Auto_Reference acts as a "smart pointer" for reference-countable instances. More...
#include <Connection_Handler.h>
Public Member Functions | |
TAO_Auto_Reference (T &r) | |
~TAO_Auto_Reference () |
Private Attributes | |
T & | ref_ |
Additional Inherited Members | |
![]() | |
ACE_Copy_Disabled (void) |
TAO_Auto_Reference acts as a "smart pointer" for reference-countable instances.
It increments the refrence count in the constructor and decrements it in the destructor. The only requiement for the template parameter is to be a class that provides add_reference() and remove_reference().
|
inline |
|
inline |
|
private |