ENH: use combined &=, |=, ^= forms for bitAndEqOp, bitOrEqOp, bitXorEqOp

- these also work for bitSet, HashSet with slightly lower overhead

ENH: locate FOAM_NODISCARD attribute macro in stdFoam.H
This commit is contained in:
Mark Olesen
2022-09-08 13:53:22 +02:00
parent 47e172e6ef
commit 968c1db1af
4 changed files with 29 additions and 26 deletions

View File

@ -126,6 +126,9 @@ int main(int argc, char *argv[])
testDivide<vector>(vectors);
//(void) compareOp<vector>()(vector::zero, vector::one);
Info<< "\nEnd\n" << endl;
return 0;