prog.cpp: In instantiation of ‘C<aa, bb>::C() [with long unsigned int aa = 5; long unsigned int bb = 6]’:
prog.cpp:16:10: required from here
prog.cpp:10:30: error: static assertion failed: aa + bb must be <= 10
static_assert((aa + bb) <= 10, "aa + bb must be <= 10");
~~~~~~~~~~^~~~~