jw
03/29/2018, 2:06 AMmsink
03/29/2018, 4:55 AMstruct
in C -- it will be copied to temporary place. In case of JVM - boxed before return.jw
03/29/2018, 1:02 PMinline
part of inline class
. If you need that, just use a box in the first place.msink
03/29/2018, 1:06 PMmsink
03/29/2018, 1:06 PMjw
03/29/2018, 1:15 PMinline
! The whole point of the feature is that it's allocation free. Call it a struct class
or something else if you're going to hide allocation behind the compiler.msink
03/29/2018, 1:20 PMmemcpy
under the hood.jw
03/29/2018, 1:22 PMmsink
03/29/2018, 1:23 PM