Tiny C++ template metaprogramming helpers

Tiny helpers for C++ template metaprogramming