xte ::fixed_array <T , n >::get ()
Defined in header <xte/data/fixed_array.hpp> Definition
Accesses an element at the given index, copying qualifiers fromtemplate <xte ::uz index > [[nodiscard ]]constexpr auto&& get (this auto&& self )noexcept ;
self . Used for structured binding.Example
Output:auto [a ,b ,c ] =xte ::fixed_array {1 ,2 ,3 };std ::println ("{} {} {}" ,a ,b ,c );
[View in Compiler Explorer]1 2 3