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

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

#include <at_lifetime_mt.h>

List of all members.

Static Public Methods

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

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

Member Function Documentation

template<typename w_ptr_style_traits>
bool at::PtrTarget_Helpers< AtomicCount, w_ptr_style_traits >::IsRefCountOne const PtrTarget_Generic< AtomicCount, 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.

i_ptr  is the PtrTarget_Generic being checked
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