|
Author:
{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}
Message: SERVER-17287 StatusWith improvements
- Implicit conversions from T and Status.
- StatusWith<Status> banned at compile time.
- toString() strings the value if isOK().
- Can now be streamed to an ostream.
- EqualityComparable to T, Status, and ErrorCodes::Error.
The last two make it possible to use StatusWith in ASSERT_OK and ASSERT_EQ.
Branch: master
https://github.com/mongodb/mongo/commit/511a2318599954ce6b58477dd7a1e8236fdb451b
|