xte ::array <T >::size ()
Defined in header <xte/data/array.hpp> Definition
Returns the number of stored elements.[[nodiscard ]]constexpr xte ::uz size ()const noexcept ;
Example
Output:xte ::array array = {1 ,2 ,3 };std ::println ("{}" ,array .size ());
[View in Compiler Explorer]3