Code C++17
#include <iostream>
int main()
{
bool n=-1;
n++; // Not compiles
n=n+3; // This compiles
return 0;
}
Output
ISO C++17 does not allow incrementing expression of type bool
So I am not understanding the significance of allowing addition but not increment.