MONGOC_OPTIONAL_COPY(3)

MONGOC_OPTIONAL_COPY(3) πŸ’…

okay so bestie, welcome to libmongoc β€” this is the page for mongoc_optional_copy, and it’s literally the β€œmake a copy” moment you’ve been waiting for. 🫢


✨ SYNOPSIS ✨

void
mongoc_optional_copy (const mongoc_optional_t *source, mongoc_optional_t *copy);

Creates a deep copy of source into copy. deep copy, no shortcuts, no sharing vibes πŸ’–


πŸŽ€ PARAMETERS πŸŽ€

  • source β€” a mongoc_optional_t. This is the one you’re copying from, the main character of the operation. ✨
  • copy β€” an empty mongoc_optional_t. Values will be overwritten. Yep, it’s gotta be empty going in, and any values there get overwritten. No cap. πŸ’…

πŸ’– AUTHOR πŸ’–

MongoDB, Inc πŸ₯°


2009-present, MongoDB, Inc. 🫢


and that’s the whole vibe, bestie: libmongoc 2.5.6, dated Oct 09, 2026. slay, you made it to the end. periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from