I wish C++ had `static if`.