See https://svn.boost.org/trac/boost/ticket/11328. And added tests for mixed mode comparisons and other operators.