iota.lib.cpp icon indicating copy to clipboard operation
iota.lib.cpp copied to clipboard

Return or in-place parameter

Open thibault-martinez opened this issue 7 years ago • 1 comments

It seems like a lot of functions that return can actually edit an in-place parameter.

thibault-martinez avatar Mar 25 '18 14:03 thibault-martinez

For this one, be cautious or provide overloads if you have in mind some core or extended functions

On Sun, Mar 25, 2018, 7:49 AM Thibault Martinez [email protected] wrote:

It seems like a lot of functions that return can actually edit an in-place parameter.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thibault-martinez/iota.lib.cpp/issues/254, or mute the thread https://github.com/notifications/unsubscribe-auth/ADGg7lwGzVqU5g40fOIB8HaNeQdrx5ixks5th65ngaJpZM4S6Kr2 .

-- Simon Ninon Software Engineer @ Whova San Diego, CA Phone: +1 (858) 349-0071 <+33%206%2050%2060%2023%2028>

Cylix avatar Mar 25 '18 18:03 Cylix