References to example code blocks within the following files have been relocated:
- src/mongocxx/test/v_noabi/change_streams.cpp -> examples/mongocxx/mongodb.com/change_streams_examples.cpp
- src/mongocxx/test/v_noabi/transactions.cpp -> examples/mongocxx/mongodb.com/transactions_examples.cpp
- src/mongocxx/test/v_noabi/versioned_api.cpp -> examples/mongocxx/mongodb.com/versioned_api_examples.cpp
The contents of each file (as relevant for example code blocks) have been left as similar to their prior state as possible. However, some Catch2 assertions (e.g. CHECK(cond);) have been converted into exceptions instead (e.g. if (!cond) throw std::logic_error("reason");), which may affect the formatting of some examples (e.g. see Versioned API Example 8).