On 04/16/2010 10:22 AM, Jean-Marc Lasgouttes wrote:
Vincent van Ravesteijn<v.f.vanraveste...@tudelft.nl> writes:One less copy than returning a "DispatchResult const&" ?I think we think the same.. ;)No, I am wondering why it has to be const.
Because it is dangerous otherwise. DispatchResult is not big so if you want to modify it use a proper setter setResult().
Abdel.