17#include <bsoncxx/array/view_or_value.hpp>
18#include <bsoncxx/document/view_or_value.hpp>
20#include <bsoncxx/config/prelude.hpp>
23inline namespace v_noabi {
101 return {std::move(doc)};
115 return {std::move(
array)};
122#include <bsoncxx/config/postlude.hpp>
A read-only, non-owning view of a BSON document.
Definition view.hpp:39
A JSON-like builder for creating arrays.
Definition list.hpp:166
operator bson_value::view()
Provides a view of the underlying BSON value.
Definition list.hpp:81
A read-only, non-owning view of a BSON document.
Definition view.hpp:33
Class representing a view-or-value variant type.
Definition view_or_value.hpp:29
The top-level namespace for bsoncxx library entities.
Definition element.hpp:24
Container to concatenate an array.
Definition concatenate.hpp:62
array::view view() const
Accessor that provides a view of the wrapped concatenate array.
Definition concatenate.hpp:85
concatenate_array concatenate(array::view_or_value array)
Method to concatenate an array with a new array.
Definition concatenate.hpp:114
Container to concatenate a document.
Definition concatenate.hpp:30
concatenate_doc concatenate(document::view_or_value doc)
Helper method to concatenate a document.
Definition concatenate.hpp:100
document::view view() const
Accessor that provides a view of the wrapped concatenate document.
Definition concatenate.hpp:53