Advertisement
Vlad3955

main.cpp

Aug 19th, 2023
894
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. #include <cstdlib>
  2. #include <iostream>
  3.  
  4. #include <mongocxx/client.hpp>
  5. #include <mongocxx/instance.hpp>
  6. #include <mongocxx/uri.hpp>
  7.  
  8. // Compilation check
  9. #include <bsoncxx/json.hpp>
  10.  
  11. int main() {
  12.     const mongocxx::instance instance_;  // This should be done only once.
  13.     mongocxx::client client{mongocxx::uri{}};
  14.     return EXIT_SUCCESS;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement