Jean-Marc Lasgouttes schreef:
Le 15 avr. 10 à 23:23, Vincent van Ravesteijn a écrit :
Why not return a DispatchResult& ? I think that was the intent anyway.
Why would we. The only place from where the DispatchResult is changed
is within the Cursor class, so direct access to the private member.
Beacuse it is one less copy? Because it is the most reasonable thing
to do? Because,
if I did this mistake, it means that it was wrong? (OK, forget the
last one)
JMarc
One less copy than returning a "DispatchResult const &" ?
I think we think the same.. ;)
Vincent