1
1
AccessControl: advice for calls with special privileges
2
2
=======================================================
3
3
call to int Derived::val()
4
around1: call to int Derived::val()
5
around2: call to int Derived::val()
4
6
--> call to private member from constructor init list
5
7
call to void Derived::g1()
8
around1: call to void Derived::g1()
9
around2: call to void Derived::g1()
7
11
call to void Derived::p()
12
around1: call to void Derived::p()
13
around2: call to void Derived::p()
8
14
--> private in same class
9
15
call to void Base::f()
16
around1: call to void Base::f()
17
around2: call to void Base::f()
10
18
--> protected in base
11
19
call to void Base::x()
20
around1: call to void Base::x()
21
around2: call to void Base::x()
12
22
call to void HasFriend::h()
23
around1: call to void HasFriend::h()
24
around2: call to void HasFriend::h()
13
25
Calls2: call to void HasFriend::h()
14
26
Calls3: call to void HasFriend::h()
15
27
--> access for friend Base::x() only
16
28
call to void Derived::g2()
29
around1: call to void Derived::g2()
30
around2: call to void Derived::g2()
18
32
call to void Derived::p()
33
around1: call to void Derived::p()
34
around2: call to void Derived::p()
19
35
--> private in same class
20
36
call to void Base::f()
37
around1: call to void Base::f()
38
around2: call to void Base::f()
21
39
--> protected in base
22
40
call to void Base::x()
41
around1: call to void Base::x()
42
around2: call to void Base::x()
23
43
call to void HasFriend::h()
44
around1: call to void HasFriend::h()
45
around2: call to void HasFriend::h()
24
46
Calls2: call to void HasFriend::h()
25
47
Calls3: call to void HasFriend::h()
26
48
--> access for friend Base::x() only