File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 90
90
\end {note }
91
91
92
92
\pnum
93
- It should be noted that it is
94
- \term {access}
95
- to members and base classes that is controlled, not their
96
- \term {visibility}.
93
+ \begin {note }
94
+ Access to members and base classes is controlled, not their
95
+ visibility\iref {basic.scope.hiding }.
97
96
Names of members are still visible, and implicit conversions to base
98
97
classes are still considered, when those members and base classes are
99
98
inaccessible.
99
+ \end {note }
100
100
The interpretation of a given construct is
101
101
established without regard to access control.
102
102
If the interpretation
389
389
of
390
390
\tcode {N}
391
391
is
392
- \term {accessible}
392
+ \defn {accessible}
393
393
at
394
- \term {R},
394
+ \placeholder {R},
395
395
if
396
396
\begin {itemize }
397
397
\item
400
400
would be a public member of
401
401
\tcode {N}, or
402
402
\item
403
- \term {R}
403
+ \placeholder {R}
404
404
occurs in a member or friend of class
405
405
\tcode {N},
406
406
and an invented public member of
407
407
\tcode {B}
408
408
would be a private or protected member of
409
409
\tcode {N}, or
410
410
\item
411
- \term {R}
411
+ \placeholder {R}
412
412
occurs in a member or friend of a class
413
413
\tcode {P}
414
414
derived from
425
425
is a base class of
426
426
\tcode {S}
427
427
accessible at
428
- \term {R}
428
+ \placeholder {R}
429
429
and
430
430
\tcode {S}
431
431
is a base class of
432
432
\tcode {N}
433
433
accessible at
434
- \term {R}.
434
+ \placeholder {R}.
435
435
\end {itemize }
436
436
437
437
\begin {example }
492
492
A member
493
493
\tcode {m}
494
494
is accessible at the point
495
- \term {R}
495
+ \placeholder {R}
496
496
when named in class
497
497
\tcode {N}
498
498
if
507
507
as a member of
508
508
\tcode {N}
509
509
is private, and
510
- \term {R}
510
+ \placeholder {R}
511
511
occurs in a member or friend of class
512
512
\tcode {N},
513
513
or
516
516
as a member of
517
517
\tcode {N}
518
518
is protected, and
519
- \term {R}
519
+ \placeholder {R}
520
520
occurs in a member or friend of class
521
521
\tcode {N},
522
522
or in a member of a class
534
534
of
535
535
\tcode {N}
536
536
that is accessible at
537
- \term {R},
537
+ \placeholder {R},
538
538
and
539
539
\tcode {m}
540
540
is accessible at
541
- \term {R}
541
+ \placeholder {R}
542
542
when named in class
543
543
\tcode {B}.
544
544
\begin {example }
You can’t perform that action at this time.
0 commit comments