-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
icon: material/key | ||
description: Member accessibility levels. | ||
--- | ||
# Accessibility levels | ||
|
||
Access modifier|Description | ||
-:|:- | ||
[`public`]()|Access isn't restricted. | ||
[`friend`]()|Access is limited to the current library or types derived from the containing type. | ||
[`protected`]()|Access is limited to container or types derived from containing type. | ||
[`internal`]()|Access is limited to the current library. | ||
[`family`]()|Access is limited to the container or types derived from the containing type within the current library. | ||
[`private`]()|Access is limited to the container. | ||
|
||
Member always can be accessed from the same container scope. This cannot be changed. | ||
|
||
If no access modifier is presented in a member declaration, `private` modifier is used. | ||
|
||
!!! warning | ||
Modifiers `protected`, `friend`, `family` are not valid on members inside modules or [sealed](inheritance.md#type-sealing) types. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
icon: material/graph | ||
description: Types inheritance, virtual methods, abstract types and sealing. | ||
--- | ||
# Inheritance | ||
|
||
## Type sealing | ||
|
||
!!! warning | ||
|
||
Site still in developing... | ||
Please wait |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters