Please add non-short-circuit boolean operators |, |=, &, &=, ^, ^=, and ! to the bool type #1080
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-not-planned
Closed as we don't intend to take action on the reported issue
type-enhancement
A request for a change that isn't a bug
This issue was originally filed by [email protected]
example usage:
bool a();
bool b();
return a() | b(); // Want to call b() even if a() returns false.
Second example usage
bool dirty = false; // accumulate dirty bit
dirty |= a();
dirty |= b();
dirty |= c();
return dirty;
The text was updated successfully, but these errors were encountered: