|
|
|
|
|
by marricks
2124 days ago
|
|
I wonder why && and || are not allowed in const functions? > All boolean operators except for && and || which are banned since they are short-circuiting. I guess I'm missing something obvious but why does the short circuiting break const-ness? |
|
(I'm a little surprised they weren't stabilized at the same time! Edit: they were! I just didn't look closely enough.)