Move all remaining Manual Doc Page examples into the examples directory

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 4.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • C Drivers
    • Needed
    • Hide

      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).

      Show
      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).
    • None
    • None
    • None
    • None
    • None
    • None

          Assignee:
          Ezra Chung
          Reporter:
          Ezra Chung
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: