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

size_t size()

Returns the size of the array

Returns

The size of the array

Example

VectorArr arr({PVector(1, 2, 3), PVector(4, 5, 6)});

std::cout << arr.size() << std::endl;
//Prints: 2