Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
skybrian
· 2y ago · 0 comments
Thanks. I’m wondering if this allows for non-static data at all? Maybe it has to be either static or copyable?
Comments
[–]
Evan-Almloff
2y ago
All data you insert into a generational box needs to be allowed to last for the 'static lifetime (have no internal temporary pointers). You cannot insert something like &'a str into a generational box