diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-12 23:00:37 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-12 23:00:37 +0000 |
commit | 80d4d72f2b6d73bb83b92e83cf34fc049204eab3 (patch) | |
tree | e2585bfd10485a0ee9e9e4749a8c693edf43f140 /TAO/tao/Any.i | |
parent | 8da7250087a8c187f53bba8333571353393da112 (diff) | |
download | ATCD-80d4d72f2b6d73bb83b92e83cf34fc049204eab3.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao/Any.i')
-rw-r--r-- | TAO/tao/Any.i | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/TAO/tao/Any.i b/TAO/tao/Any.i index 4c0de244847..e90463f0307 100644 --- a/TAO/tao/Any.i +++ b/TAO/tao/Any.i @@ -83,6 +83,7 @@ CORBA_Any::operator<<= (CORBA::Double d) this->replace (CORBA::_tc_double, new CORBA::Double (d), 1, env); } +// insertion of Any - copying ACE_INLINE void CORBA_Any::operator<<= (const CORBA_Any& a) { @@ -90,6 +91,14 @@ CORBA_Any::operator<<= (const CORBA_Any& a) this->replace (CORBA::_tc_any, new CORBA_Any (a), 1, env); } +// insertion of Any - non-copying +ACE_INLINE void +CORBA::Any::operator<<= (CORBA::Any_ptr anyptr) +{ + CORBA::Environment env; + this->replace (CORBA::_tc_any, anyptr, 1, env); +} + // implementing the special types ACE_INLINE CORBA_Any::to_object::to_object (CORBA_Object_out obj) |