bkloppenborg / simtoi

The SImulation and Modeling Tool for Optical Interferometry
GNU General Public License v3.0
7 stars 6 forks source link

CVectorList should be replaced by vector< std::shared_ptr<type> > #50

Closed bkloppenborg closed 12 years ago

bkloppenborg commented 12 years ago

With C++11 the shared_ptr data type (in ) can be used with vectors to store data. This data type insures that objects are destroyed when there are no longer any references. The CVectorList data type is therefore superceeded and should be replaced.

Note, this will likely require several internal changes to the library to make it C++11 compatible.