chsvlib
chsv helper source code

◆ sbo_vector() [6/10]

sbo_vector ( IteratorBegin  begin,
IteratorEnd  end,
const Allocator &  allocator = Allocator() 
)

Constructor initializing contents of the created vector with elements given by a range specified by a pair of iterators.

Template Parameters
Atype of the first iterator.
Atype of the second iterator.
Parameters
allocatorA custom allocator initializing an allocator of the created vector to manage memory allocated on heap.
beginAn input iterator associated with the starting position of the range.
endAn input iterator associated with the (pseudo-) element past the ending element of the range.