diff --git a/include/xo/object2/DString.hpp b/include/xo/object2/DString.hpp index 3989049..35e0527 100644 --- a/include/xo/object2/DString.hpp +++ b/include/xo/object2/DString.hpp @@ -245,6 +245,11 @@ namespace xo { ///@} }; + + inline bool operator==(const DString & lhs, const DString & rhs) { + return DString::compare(lhs, rhs) == 0; + } + } /*namespace scm*/ } /*namespace xo*/