API Reference > Other Classes > OdVector Template > OdVector Methods > OdVector::assign Method
OdVector::assign Method
Syntax
C++
void assign(const_iterator first, const_iterator afterLast);
Parameters 
Description 
const_iterator first 
[in] Position of first element to be assigned.  
const_iterator afterLast 
[in] Position of first element after the last element to be assigned. 

Assigns the specified range of elements to this Array object. 

 

After this Array object is cleared, this function assigns the specified range of elements from another Array object.

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