// file : Utility/ReferenceCounting/Interface.tpp // author : Boris Kolpackov // copyright : Copyright (c) 2002-2003 Boris Kolpackov // license : http://kolpackov.net/license.html namespace Utility { namespace ReferenceCounting { template inline Type* add_ref (Type* ptr) throw (Interface::Exception, Interface::SystemException) { if (ptr != 0) ptr->add_ref (); return ptr; } } } //$Id$