/* -*- C++ -*- */ // $Id$ // Implicitly and automatically increment the counter. template ACE_INLINE ACE_Auto_IncDec::ACE_Auto_IncDec (ACE_SAFELY_INCREMENTABLE_DECREMENTABLE &counter) : counter_ (counter) { ++this->counter_; } // Implicitly and automatically decrement the counter. template ACE_INLINE ACE_Auto_IncDec::~ACE_Auto_IncDec (void) { --this->counter_; }