Example #1
0
 inline bool operator==(const DayCounter& d1, const DayCounter& d2) {
     return (d1.empty() && d2.empty())
         || (!d1.empty() && !d2.empty() && d1.name() == d2.name());
 }