25 Oct
2016
25 Oct
'16
7:19 p.m.
2016-10-25 22:17 GMT+03:00 Nat Goodspeed
On Tue, Oct 25, 2016 at 3:14 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?
So a copy of `frame` becomes invalid after the stacktrace destruction.
Maybe a frame should be a weak_ptr
, accessed with pointer semantics?
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. -- Best regards, Antony Polukhin