API Reference > Other Classes > OdArray Template > OdArray Methods > insert Method > OdArray::insert Method (iterator, const_iterator, const_iterator)
OdArray::insert Method (iterator, const_iterator, const_iterator)
Syntax
C++
void insert(iterator before, const_iterator first, const_iterator afterLast);
Parameters 
Description 
iterator before 
[in] Position where first element is to be inserted.  
const_iterator first 
[in] Position of first element to be inserted.  
const_iterator afterLast 
[in] Position of first element after the last element to be inserted. 

Inserts an element, number of elements, or range of elements, into this Array object. 

 

The range of elements may be from another Array object.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.