Skip to content
UPEEC

Pointers in C++

Raw pointers still exist, but in modern C++ they mean "non-owning observer".

Easy
Comments 0

Own resources with smart pointers or containers; use references when null isn't possible.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.