TAO  2.3.3
MM_Sequence_Iterator_T.h File Reference

Implement the iterator for CORBA sequences that need memory management. More...

Detailed Description

Implement the iterator for CORBA sequences that need memory management.

There are some CORBA sequences that need to manage memory (e.g., string sequences). Iterators for these classes also need to manage memory and therefore do not use the iterators defined for the generic sequences.

Essentially, only the iterators operators that reference and return elements (e.g.,operator*, operator[]) need to be overridden from the behavior provided by the generic sequence iterators. Template specialization code is appropriate here but I couldn't figure out how to make the compiler happy.

In lieu of template specialization code separate iterators exist for sequences that manage memory. Here are those iterators.

Author
Joe Hoffert