Changes between Version 3 and Version 4 of CodingPatterns
- Timestamp:
- May 15, 2019, 12:17:02 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingPatterns
v3 v4 18 18 * Taking ownership of a returned object should be done as a `std::unique_ptr<Object>` 19 19 20 = =Investigations20 = Investigations 21 21 22 == =Geometry Factory improvements22 == Geometry Factory improvements 23 23 24 24 * Add `createXX` methods returning `std::unique_ptr<XX>` 25 25 * Remove old create methods once all code is switched to using `std::unique_ptr` 26 26 27 == =Unique_ptr typedefs?27 == Unique_ptr typedefs? 28 28 29 29 * To reduce boilerplate perhaps define typedefs for common types: `UP_Geometry`, `UP_CoordinateSequence`, etc 30 30 31 == =Coordinate Sequence improvements31 == Coordinate Sequence improvements 32 32 33 33 **Goals:**