xte ::array <T >::end ()
Defined in header <xte/data/array.hpp> Definitions
#0With the same qualifiers as[[nodiscard ]]constexpr auto* end (this auto&& self )noexcept ;
self , returns an iterator pointing one past the last element. May return nullptr if there are no elements.#1
Same as #0 but[[nodiscard ]]constexpr const T * cend ()const noexcept ;
const -qualified.Example
Output:xte ::array array = {1 ,2 ,3 };for (auto iter =array .begin ();iter !=array .end (); ++iter ) {std ::println ("{}" , *iter ); }
[View in Compiler Explorer]1 2 3