summaryrefslogtreecommitdiff
path: root/TAO/tao/Sequence_T.i
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-21 03:08:59 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-21 03:08:59 +0000
commit459b521cbcbd32cfbf0ab50dfce45bf7698080e6 (patch)
treec9c6e78df0601d58968467a8aac6fe95b4645714 /TAO/tao/Sequence_T.i
parent1548730f2742c11c165664315cc0469cf8650d98 (diff)
downloadATCD-459b521cbcbd32cfbf0ab50dfce45bf7698080e6.tar.gz
ChangeLogTag: Tue Feb 20 20:34:06 2001 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Sequence_T.i')
-rw-r--r--TAO/tao/Sequence_T.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/tao/Sequence_T.i b/TAO/tao/Sequence_T.i
index 45fb1778e0d..30835739421 100644
--- a/TAO/tao/Sequence_T.i
+++ b/TAO/tao/Sequence_T.i
@@ -235,6 +235,12 @@ TAO_Object_Manager<T,T_var>::operator-> (void) const
}
template <class T, class T_var> ACE_INLINE
+TAO_Object_Manager<T,T_var>::operator const T_var () const
+{
+ return T::_duplicate (*this->ptr_);
+}
+
+template <class T, class T_var> ACE_INLINE
TAO_Object_Manager<T,T_var>::operator const T* () const // cast
{
return *this->ptr_;