• Jason Rhinelander's avatar
    Template simplifications · 5aa2cd5e
    Jason Rhinelander authored
    Switch count_t to use constexpr_sum (under non-MSVC), and then make
    all_of_t/any_of_t use it instead of doing the sum itself.
    
    For MSVC, count_t is still done using template recursion, but
    all_of_t/any_of_t can also make use of it.
    5aa2cd5e
common.h 18 KB