Assume:
struct A {
int foo(int x);
}
template<typename X>
struct B {
int foo(int x);
static_assert(B::foo has same sig as X::foo)
}
B<A> trigger check
Basically, I want to define an archetype struct and then concept check whether a given concrete struct has the same members.
Thanks!