Hacker News new | ask | show | jobs
by skybrian 810 days ago
Thanks. I’m wondering if this allows for non-static data at all? Maybe it has to be either static or copyable?
1 comments

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