Skip to main content Link Menu Expand (external link) Document Search Copy Copied

[iterator] end()

Returns an iterator to the end of the array

Returns

The deque iterator to the end of the array

Example

VectorArr arr({PVector(1, 2, 3), PVector(4, 5, 6)});
for(auto& i : arr) {
    std::cout << i << std::endl;
}
//Prints:
//{1, 2, 3}
//{4, 5, 6}