Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

at::PtrTarget_Helpers< w_count_t, w_ptr_style_traits > Class Template Reference

#include <at_lifetime.h>

List of all members.

Static Public Methods

bool IsRefCountOne (const PtrTarget_Generic< w_count_t, w_ptr_style_traits > *i_ptr)

template<typename w_count_t, typename w_ptr_style_traits>
class at::PtrTarget_Helpers< w_count_t, w_ptr_style_traits >


Member Function Documentation

template<typename w_count_t, typename w_ptr_style_traits>
bool at::PtrTarget_Helpers< w_count_t, w_ptr_style_traits >::IsRefCountOne const PtrTarget_Generic< w_count_t, w_ptr_style_traits > *    i_ptr [inline, static]
 

IsRefCountOne check to see if there is a single reference to an object. This can be used in optimizations where objects can't be shared but this check can eliminate the unneccassary creation of a new object.

Parameters:
i_ptr  is the PtrTarget_Generic being checked
Returns:
True is the reference count is currently 1


The documentation for this class was generated from the following file:

Generated for Austria by doxygen and MakeXS at Sun Oct 24 17:35:34 PDT 2004