>>403
そうでしたか。
一応、下記のように書けばいいのかな?

constexpr int mode = 100;

if constexpr(mode == 100) {
std::cout << "aaa";
}
else {
std::cout << "bbb";
}