mongoc_optional_set_value(3)
| MONGOC_OPTIONAL_SET_VALUE(3) | libmongoc | MONGOC_OPTIONAL_SET_VALUE(3) |
SYNOPSIS
void mongoc_optional_set_value (mongoc_optional_t *opt);
Sets a value on a mongoc_optional_t <>. Once a value has been set, it cannot be unset, i.e. mongoc_optional_is_set will always return true after calling mongoc_optional_set_value.
PARAMETERS
- •
- opt: A mongoc_optional_t <>.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
| February 10, 2026 | 1.30.7 |
