25 Oct
2016
25 Oct
'16
7:38 p.m.
2016-10-25 22:28 GMT+03:00 Nat Goodspeed
On Tue, Oct 25, 2016 at 3:19 PM, Antony Polukhin
wrote: 2016-10-25 22:00 GMT+03:00 Nat Goodspeed
: On Tue, Oct 25, 2016 at 2:57 PM, Antony Polukhin
wrote: Is it ok to have a nonmovable type for a stack frame?
Could it be move-only?
Memory allocation will happen for each backend in that case, so users would like to specify allocators... and that's what I'd like to avoid even more than dangling references.
So okay, propose the frame type as immovable and let's see how reviewers respond. I think it would be good if your documentation explains the reasons for this decision: the tradeoffs you rejected.
Good point! I'll polish the implementation and docs soon. -- Best regards, Antony Polukhin