diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-08-19 08:28:35 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-08-19 08:28:35 +0000 |
commit | 7c9c3741e02d1569824dd6d024bd81e03febb2c7 (patch) | |
tree | 279233684289a024587c0885378eeee4079b9f01 /TAO/tao/AnyTypeCode/Sequence_TypeCode.inl | |
parent | 7f61ed4f18c496890fbdf75300b1135d6911d9aa (diff) | |
download | ATCD-7c9c3741e02d1569824dd6d024bd81e03febb2c7.tar.gz |
ChangeLogTag Fri Aug 19 07:56:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/AnyTypeCode/Sequence_TypeCode.inl')
-rw-r--r-- | TAO/tao/AnyTypeCode/Sequence_TypeCode.inl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/TAO/tao/AnyTypeCode/Sequence_TypeCode.inl b/TAO/tao/AnyTypeCode/Sequence_TypeCode.inl new file mode 100644 index 00000000000..81e7add5646 --- /dev/null +++ b/TAO/tao/AnyTypeCode/Sequence_TypeCode.inl @@ -0,0 +1,23 @@ +// -*- C++ -*- +// +// $Id$ + +template <typename TypeCodeType, class RefCountPolicy> +ACE_INLINE +TAO::TypeCode::Sequence<TypeCodeType, RefCountPolicy>::Sequence ( + CORBA::TCKind kind, +#if defined (__BORLANDC__) && (__BORLANDC__ < 0x572) + // Borland C++ currently can't handle a reference to + // const pointer to const CORBA::TypeCode_ptr + TypeCodeType content_type, +#else + TypeCodeType const & content_type, +#endif + CORBA::ULong length) + : CORBA::TypeCode (kind) + , RefCountPolicy () + , content_type_ (content_type) + , length_ (length) +{ + // ACE_ASSERT (kind == CORBA::tk_array || kind == CORBA::tk_sequence); +} |