Get size of std::array without an instance April 11, 2023 by Tarik You may use std::tuple_size: std::tuple_size<decltype(Foo::bar)>::value