Files
pilotclient/src/blackmisc/pq
Mathew Sutcliffe c8d78ada65 T73 Flyweight pattern based on pimpl, to reduce CMeasurementUnit memory usage.
* All members of CMeasurementUnit moved into nested pimpl class Data.
* CMeasurementUnit has only one member: a pointer to a const Data.
* Static const CMeasurementUnits replaced with static const Datas.
* Each CMeasurementUnit singleton method returns by-value a CMeasurementUnit containing a pointer to a static const Data.
* Means CMeasurementUnit is trivial to copy because we never copy the pimpl members.
** Works because the available units are fixed at compile time so we never need to create novel units at runtime.
2017-05-14 17:21:23 +01:00
..
2016-05-13 17:05:49 +02:00
2015-05-12 21:03:31 +01:00
2017-02-24 00:18:16 +00:00
2016-05-13 17:05:49 +02:00
2016-05-13 17:05:49 +02:00