示例#1
0
        public void Assign(InputIterator <T> iterator)
        {
            BackInsertIterator <T> backInserter = iterator as BackInsertIterator <T>;

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