Beispiel #1
0
        public void Assign(InputIterator <T> iterator)
        {
            FrontInsertIterator <T> backInserter = iterator as FrontInsertIterator <T>;

            if (backInserter == null)
            {
                throw new ArgumentException("Iterator type mismatch.");
            }
            Assign(backInserter);
        }
Beispiel #2
0
 public void Assign(FrontInsertIterator <T> iterator)
 {
     m_Collection = iterator.m_Collection;
 }