Concept defining method and concrete class defining static method – Ubuntu
Continuing my studies on concepts, in the following example: template <typename t> concept c = requires(t p_t) { { p_t.f() } -> std::same_as<int>; }; template <c t_c> int m1(t_c p_c) { return p_c.f(); } template <c t_c> int m2() {…