diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-05-05 12:53:55 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-05-05 12:53:55 +0000 |
commit | 3c61e20f081bf6fbab6d3483e5e7f71cb91c4974 (patch) | |
tree | 4d687030d8e848eb2c325e8234fb807f578df890 /ace/Auto_Functor.cpp | |
parent | 65ce81267a19f490a22443567c75276fc864cbd2 (diff) | |
download | ATCD-RepositoryManager.tar.gz |
This commit was manufactured by cvs2svn to create branchRepositoryManager
'RepositoryManager'.
Diffstat (limited to 'ace/Auto_Functor.cpp')
-rw-r--r-- | ace/Auto_Functor.cpp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/ace/Auto_Functor.cpp b/ace/Auto_Functor.cpp deleted file mode 100644 index af1ff0142ce..00000000000 --- a/ace/Auto_Functor.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#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_RCSID(ace, Auto_Functor, "$Id$") - -template<typename X, typename Functor> -ACE_Utils::Auto_Functor<X,Functor>::~Auto_Functor() - ACE_THROW_SPEC (()) -{ - reset(0); -} - -template<typename X, typename Functor> void -ACE_Utils::Auto_Functor<X,Functor>::reset(X * p) - ACE_THROW_SPEC (()) -{ - if(p_ != 0) - { - f_(p_); - } - p_ = p; -} - -template<typename X, typename Functor>void -ACE_Utils::Auto_Functor<X,Functor>::reset(X * p, Functor f) - ACE_THROW_SPEC (()) -{ - reset(p); - f_ = f; -} - -#endif /*ACE_AUTO_FUNCTOR_CPP*/ |