17 #include <bsoncxx/array/view_or_value.hpp>
18 #include <bsoncxx/document/view_or_value.hpp>
20 #include <bsoncxx/config/prelude.hpp>
23 BSONCXX_INLINE_NAMESPACE_BEGIN
101 return {std::move(doc)};
115 return {std::move(array)};
119 BSONCXX_INLINE_NAMESPACE_END
122 #include <bsoncxx/config/postlude.hpp>
array::view view() const
Accessor that provides a view of the wrapped concatenate array.
Definition: concatenate.hpp:85
document::view view() const
Accessor that provides a view of the wrapped concatenate document.
Definition: concatenate.hpp:53
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
concatenate_doc concatenate(document::view_or_value doc)
Helper method to concatenate a document.
Definition: concatenate.hpp:100
Container to concatenate a document.
Definition: concatenate.hpp:30
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
Container to concatenate an array.
Definition: concatenate.hpp:62
concatenate_array concatenate(array::view_or_value array)
Method to concatenate an array with a new array.
Definition: concatenate.hpp:114
Definition: element.hpp:24