append a operator function in your class A to
prevent accessing private member directly (praticularly pointer)
this helps making your code safer.
do you agree ?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Thread: Check valid pointer...Threaded View
|
Click Here to Expand Forum to Full Width |