How can I get a constexpr size from a std::set, which I can use to return a std::array with the number of elements in the std::set in C++23?
How can I get a constexpr
size
from a std::set
, which I can use to return a std::array
with the number of elements in the std::set
in C++23 or to-be C++26, as far as supported by either G++
oder Clang
?