1BSON_ITER_OVERWRITE_BOOL(3) libbson BSON_ITER_OVERWRITE_BOOL(3)
2
3
4
6 void
7 bson_iter_overwrite_bool (bson_iter_t *iter, bool value);
8
10 • iter: A bson_iter_t.
11
12 • value: A bool containing the new value.
13
15 The bson_iter_overwrite_bool() function shall overwrite the contents of
16 a BSON_TYPE_BOOL element in place.
17
18 This may only be done when the underlying bson document allows muta‐
19 tion.
20
21 It is a programming error to call this function when iter is not ob‐
22 serving an element of type BSON_TYPE_BOOL.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.25.1 Nov 08, 2023 BSON_ITER_OVERWRITE_BOOL(3)