C++ template metaprogramming implementation of Bratley's scheduling algorithm. The algorithm is computed at compile-time such that the schedule is known by run-time.
Build instructions:
cd bratley
mkdir build
cd build
cmake ..
make
Live demo on the Godbolt Compiler Explorer: