I\'m getting the following error:
`.\' cannot appear in a constant-expression
for this function (line 4):
bool Covers(const
Trying out your code tells me, that the compiler has a problem with the me[d].max < other[d].max
part. So the problem with the dot was bogus. Instead the compiler has a problem with the comparison operator. Just reverting the comparison made the compiler error magically disappear:
if (me[i].min > other[i].min || other[i].max > me[i].max) {
return false;
}