mongodb/mongo-cxx-driver — pull request #43 by dsch (2014-03-30 09:22:35+00:00)
Title: fix strict aliasing warnings CXX-49

Fixed strict aliasing warnings and added tests for modified functions. I needed to do some refactorings to make the functions testable without friend-declarations.
Also fixed a bug in OID::MachineAndPid not-equal-operator, which compared pointers instead of memory content.