Shibe and doge using C++11 templates