15 Nov
2017
15 Nov
'17
4:14 p.m.
On 15. Nov 2017, at 17:05, Peter Dimov via Boost
wrote: For those interested, here's a test program with which you can play. The results are, respectively, 0+1, 3+0, 0+3, 0+3, 0+0.
Nice, thanks for that. But the 0+0 is slightly misleading, as you don't copy the value with a copy-ctor, but you initialise a new value directly - this should count as well, especially thinking of cases like a matrix-like class with, say, an array of NxM elements as a direct member.