#ifndef ACE_AUTO_FUNCTOR_CPP #define ACE_AUTO_FUNCTOR_CPP #include "ace/Auto_Functor.h" #if !defined(__ACE_INLINE__) # include "ace/Auto_Functor.inl" #endif /* __ACE_INLINE__ */ ACE_BEGIN_VERSIONED_NAMESPACE_DECL template ACE_Utils::Auto_Functor::~Auto_Functor() { reset(0); } template void ACE_Utils::Auto_Functor::reset(X * p) { if(p_ != 0) { f_(p_); } p_ = p; } templatevoid ACE_Utils::Auto_Functor::reset(X * p, Functor f) { reset(p); f_ = f; } ACE_END_VERSIONED_NAMESPACE_DECL #endif /*ACE_AUTO_FUNCTOR_CPP*/