This ticket implements the solution proposed in RFC-179, replacing PTR and CONST_PTR with std::shared_ptr<T> and std::shared_ptr<const T> respectively.
Remove PTR and CONST_PTR macros
CONST_PTR seems to be used in meas_base, meas_modelfit, meas_algorithms, meas_extensions_photometryKron, ip_diffim, meas_base, ctrl_events, and daf_persistence.
Additionally PTR is used in meas_extensions_shapeHSM, meas_astrom, meas_deblender, obs_subaru, meas_extensions_astrometryNet, shapelet, and meas_extensions_psfex.
Looks like we never finished implementing this RFC. Matthias Wittgen might be interested
Sorry for the delay! I have only minor comments, mostly involving formatting.