tpolzer
Joined 9 years ago
Joined 9 years ago
You could probably also do it without moving actually, it just gets a little more complex.
You could ask the programmer to mark some callstack as arena allocated and redirect all allocations to there while active and move everything that is still live once you leave the arena marked callstack (should be cheap if the live set is small, expensive but still safe otherwise).
That's not to say that they don't run their fair share of gossip/clickbait... but show me an online medium that does not.
While you should have a backup of your data anyway.
https://www.nytimes.com/2006/08/09/technology/09aol.html
https://techcrunch.com/2006/08/09/first-person-identified-fr...
As for the std::variant use case, using std::monostate is only a matter of convention there. You could use any of the other unit types just the same.
- std::nullopt_t
- std::nullptr_t
- std::monostate
- std::tuple<>
And I'm sure there's more.
https://en.wikipedia.org/wiki/Engine_efficiency#:~:text=Mode....
SD card users who care about speed have UHS-II equipment, but SD Express and UHS-II use mutually incompatible high speed signalling on the same pins (so cards and readers are only supporting one of the two - I guess technically this could be fixable with special purpose chips, but at large cost).
Users who care about speed but not about SD card compatibility are already using CFExpress, which is supported by most modern professional cameras and has much better hardware availability than SD Express.