DOKK / manpages / debian 13 / libmongoc-doc / mongoc_optional_copy.3.en
MONGOC_OPTIONAL_COPY(3) libmongoc MONGOC_OPTIONAL_COPY(3)

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


Creates a deep copy of source into copy.

  • source: A mongoc_optional_t.
  • copy: An empty mongoc_optional_t. Values will be overwritten.

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4