2 ms·
> How do you even debug that? constexpr int hard_stuff(int x, int y) { return x + y; } void hard_stuff_test() { static_assert(ha
by jcelerier 9y ago
> How do you even debug that?
constexpr int hard_stuff(int x, int y) {
return x + y;
}
void hard_stuff_test() {
static_assert(hard_stuff(2, 3) == 5);
}
?