std::shared_ptr<T>::get - cppreference.com
Jun 19, 2023 · A shared_ptr may share ownership of an object while storing a pointer to another object. get () returns the stored pointer, not the managed pointer. This page was last modified on 19 June 2023, at 06:03.