Danny Robson
c2265b9ed2
alloc: add aligned::foreign allocator
sometimes we need to ensure memory allocation has a particular alignment in an _offset_ buffer (which we have no control over, eg renderdoc's OpenGL buffers). this applies an offset to various operations that make the aligned::direct allocator correctly align allocations for buffers that aren't themselves aligned.
A simple cross-platform C++ utility library. Supported compilers: >=clang-5.x, >=gcc7.x; specifically, we require c++17 features such as structured bindings which aren't present in older compilers. No attempt has been made to compile under MSVC.
Description
Languages
C++
96%
Ragel
1.2%
CMake
1.1%
Meson
1.1%
Python
0.6%