*/
template <class StreamType>
inline
- StreamType &operator << (StreamType &s, CacheUpdateFlags u)
+ StreamType &operator << (StreamType &s,
+ const CacheUpdateFlags u)
{
s << " CacheUpdateFlags";
if (u & update_vertex_to_cell_map) s << "|vertex_to_cell_map";
*/
inline
CacheUpdateFlags
- operator | (CacheUpdateFlags f1, CacheUpdateFlags f2)
+ operator | (const CacheUpdateFlags f1,
+ const CacheUpdateFlags f2)
{
return static_cast<CacheUpdateFlags> (
static_cast<unsigned int> (f1) |
*/
inline
CacheUpdateFlags
- operator ~ (CacheUpdateFlags f1)
+ operator ~ (const CacheUpdateFlags f1)
{
return static_cast<CacheUpdateFlags> (
~static_cast<unsigned int> (f1)
*/
inline
CacheUpdateFlags &
- operator |= (CacheUpdateFlags &f1, CacheUpdateFlags f2)
+ operator |= (CacheUpdateFlags &f1,
+ const CacheUpdateFlags f2)
{
f1 = f1 | f2;
return f1;
*/
inline
CacheUpdateFlags
- operator & (CacheUpdateFlags f1, CacheUpdateFlags f2)
+ operator & (const CacheUpdateFlags f1,
+ const CacheUpdateFlags f2)
{
return static_cast<CacheUpdateFlags> (
static_cast<unsigned int> (f1) &
*/
inline
CacheUpdateFlags &
- operator &= (CacheUpdateFlags &f1, CacheUpdateFlags f2)
+ operator &= (CacheUpdateFlags &f1,
+ const CacheUpdateFlags f2)
{
f1 = f1 & f2;
return f1;