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-11-02 15:50:58 -05:00
2020-11-02 15:50:58 -05:00
2018-10-02 16:04:10 +02:00
2020-10-21 22:14:23 -04:00
2020-08-26 02:32:32 -04:00
2020-06-27 18:20:06 -04:00
2020-11-05 10:07:16 -05:00
2020-10-26 23:07:36 -04:00
2020-10-20 19:07:39 -07:00
2020-11-02 15:50:58 -05:00
2019-04-25 08:07:57 -04:00