mongoc_optional_copy()#
Synopsis#
void
mongoc_optional_copy (const mongoc_optional_t *source, mongoc_optional_t *copy);
Creates a deep copy of source
into copy
.
Parameters#
source
: A mongoc_optional_t.copy
: An empty mongoc_optional_t. Values will be overwritten.