http://www.tv-asahi.co.jp/iq/
↑これの左下の問題ってさあ

template<class T, class Operator, size_t size>
class 魔方陣;

としたときの
魔方陣<Shape, XOR, 3>;
だよな?