3 ms·
Operator overloading is syntax; lazy evaluation is semantics.
by kazinator 4y ago
Operator overloading is syntax; lazy evaluation is semantics.
- menaerus 4y agoThat is true but a little bit unfair comment because I expanded with the context in the very next sentence. Or perhaps you're aware of alternative way of how to implement lazy evaluation without expression templates and operator overloading with all of its advantages?