Project: datamanagement
Issue DM-3899: support shared_ptr<Statistics>
I would like to write some functions that return afw::math::Statistics objects and wrap them with SWIG. Unfortunately SWIG requires that any object returned by value must have a default constructor, and Statistics does not. Rather than try to add such an object I propose to make my functions return a shared_ptr to Statistics. This ticket is a request to support that by adding the following to statistics.i: {code} %shared_ptr(lsst::afw::math::Statistics); {code}
Story points: 2