This repository contains source code for the corresponding article. The C preprocessor macro and C++ template metaprogram libraries could be found in separate subdirectories, including some test cases and demos. These libraries are portable, header-only implementations, but they require Boost >= 1.54.
kmate/configurable-data-layout
Configurable Data Structure Layout for Memory Hierarchies
C++Apache-2.0