1 #ifndef TAO_PORTABLESERVER_SERVANT_VAR_CPP
2 #define TAO_PORTABLESERVER_SERVANT_VAR_CPP
4 #include "tao/PortableServer/Servant_var.h"
6 #if !defined (__ACE_INLINE__)
7 # include "tao/PortableServer/Servant_var.inl"
8 #endif /* __ACE_INLINE__ */
10 #include "tao/Exception.h"
12 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
16 PortableServer::Servant_var
<T
>::_duplicate (T
* p
)
34 PortableServer::Servant_var
<T
>::~Servant_var () /* noexcept */
36 // Unfortunately, there is no throw spec on _remove_ref, so we
37 // can't assume that it will not throw. If it does, then we are in
38 // trouble. In any event, we can't let the exception escape our
44 this->ptr_
->_remove_ref ();
49 // Forget the exception..
53 TAO_END_VERSIONED_NAMESPACE_DECL
55 #endif /* TAO_PORTABLESERVER_SERVANT_VAR_CPP */