autowrap icon indicating copy to clipboard operation
autowrap copied to clipboard

add wrap-return-self to change default behavior from returning a copy to a reference

Open timosachsenberg opened this issue 2 years ago • 1 comments

https://github.com/OpenMS/OpenMS/pull/7249#discussion_r1419076141

timosachsenberg avatar Dec 08 '23 07:12 timosachsenberg

It should not really be changing the default behaviour. It should only be used for methods that return some changed version of "this/self". For other things, returning references should barely ever be used since we have no mechanism for usage counts.

jpfeuffer avatar Dec 09 '23 18:12 jpfeuffer