Generic Pattern Database Generation ( C++11 header-only library )