Home | History | Annotate | Download | only in base

Lines Matching defs:Parent

17 class Parent {};
18 class Child : public Parent {};
44 // (is_convertible < Child), (Parent > ::value)
47 COMPILE_ASSERT( (is_convertible<Child, Parent>::value), IsConvertible);
48 COMPILE_ASSERT(!(is_convertible<Parent, Child>::value), IsConvertible);
49 COMPILE_ASSERT(!(is_convertible<Parent, AStruct>::value), IsConvertible);
61 COMPILE_ASSERT(!(is_same<Child, Parent>::value), IsSame);
62 COMPILE_ASSERT(!(is_same<Parent, Child>::value), IsSame);
63 COMPILE_ASSERT( (is_same<Parent, Parent>::value), IsSame);