A Common Solution
Lightweight Classes
restricted class with value semantics
low overhead, can be inlined
Operator Overloading
at least for existing operators: arithmetic, compare, assign, subscripts
Admits extensions
interval, multiprecision, ...
Previous slide
Next slide
Back to first slide
View graphic version