Lines Matching refs:id_
23 int id_; member
24 explicit B(int id) : id_(id) {count++;} in B()
25 B(const B& a) : id_(a.id_) {count++;} in B()
35 int id_; member
36 explicit C1(int id) : B(id-2), id_(id) {count++;} in C1()
37 C1(const C1& a) : B(a.id_-2), id_(a.id_) {count++;} in C1()
47 int id_; member
48 explicit C2(int id) : B(id-2), id_(id) {count++;} in C2()
49 C2(const C2& a) : B(a.id_-2), id_(a.id_) {count++;} in C2()
59 int id_; member
60 explicit A(int id) : C1(id-1), C2(id-2), B(id+3), id_(id) {count++;} in A()
61 A(const A& a) : C1(a.id_-1), C2(a.id_-2), B(a.id_+3), id_(a.id_) {count++;} in A()
84 assert(a->id_ == 5); in f2()
85 assert(static_cast<const C1*>(a)->id_ == 4); in f2()
86 assert(static_cast<const C2*>(a)->id_ == 3); in f2()
87 assert(static_cast<const B*>(a)->id_ == 8); in f2()
113 assert(static_cast<const B*>(a)->id_ == 8); in f3()
135 assert(c2->id_ == 3); in f4()
157 assert(c1->id_ == 4); in f5()
158 assert(static_cast<const B*>(c1)->id_ == 8); in f5()