Tautological compare in GeometryGrid
I tested some of Oliver's code with dune-grid 2.7 and Clang 10 complained the following:
/home/gruech/dune/2.7/dune-grid/dune/grid/geometrygrid/geometry.hh:34:87: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
34 | static const bool v = hasSingleGeometryType::v && ((mydim == dim) || ((id | 1u) == 1u) || ((id | 1u) == idMask));
| ~~~~~~~~~~~^~~~~~
Quite interesting, but I don't know what should be the actual statement. Can someone help?