Checks if Child extends Parent by having a matching set of members.
The base class to test.
The parent class to test.
Whether Child has all the members of Parent.
struct S1 { @property int x() { return 42; } } struct S2 { @property int x() { return 42; } } assert( hasSameMembers!( S1, S2 ) );
See Implementation
Checks if Child extends Parent by having a matching set of members.