Missed a const ( now "cout << Bits<int>(7) << endl;" is possible).