Skip to content

Commit ea89ed3

Browse files
authored
Try to fix wrong visibility in docs
1 parent 6012887 commit ea89ed3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cpp/pointers-to-members.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ int main()
7777
}
7878
```
7979

80-
In the preceding example, `pwCaption` is a pointer to any member of class `Window` that has type **char\***. The type of `pwCaption` is `char * Window::*`. The next code fragment declares pointers to the `SetCaption` and `GetCaption` member functions.
80+
In the preceding example, `pwCaption` is a pointer to any member of class `Window` that has type **char\***. The type of `pwCaption` is `char * Window::* `. The next code fragment declares pointers to the `SetCaption` and `GetCaption` member functions.
8181

8282
```
8383
const char * (Window::*pfnwGC)() = &Window::GetCaption;
@@ -174,4 +174,4 @@ Print function for class Derived
174174
```
175175

176176
## See Also
177-
177+

0 commit comments

Comments
 (0)