Lioncash 0ca91ced2d virtual_buffer: Add compile-time type-safety guarantees with VirtualBuffer
VirtualBuffer makes use of VirtualAlloc (on Windows) and mmap() (on
other platforms). Neither of these ensure that non-trivial objects are
properly constructed in the allocated memory.

To prevent potential undefined behavior occurring due to that, we can
add a static assert to loudly complain about cases where that is done.
2020-11-17 20:09:58 -05:00
..
2020-10-20 22:16:03 -04:00
2020-10-28 01:41:24 -03:00
2020-11-09 22:55:05 -05:00
2020-11-03 20:22:05 -05:00
2020-11-03 20:22:05 -05:00