143 const
std::uint8_t* _data;
161 using iterator_category = std::forward_iterator_tag;
162 using difference_type = std::ptrdiff_t;
192#include <bsoncxx/config/postlude.hpp>
The bsoncxx macro guard prelude header.
A variant view type that accesses values in serialized BSON documents.
Definition element.hpp:46
A const iterator over the contents of a document view.
Definition view.hpp:153
A read-only, non-owning view of a BSON document.
Definition view.hpp:35
bool empty() const
Checks if the underlying document is empty, i.e. it is equivalent to the trivial document '{}...
const_iterator cend() const
const std::uint8_t * data() const
Access the raw bytes of the underlying document.
std::size_t length() const
Gets the length of the underlying buffer.
const_iterator begin() const
const_iterator cbegin() const
const_iterator end() const
const_iterator find(stdx::string_view key) const
Finds the first element of the document with the provided key. If there is no such element,...
Provides bsoncxx::v_noabi::document::element.
Declares bsoncxx::v_noabi::document::view.
#define BSONCXX_ABI_EXPORT_CDECL(...)
Equivalent to BSONCXX_ABI_EXPORT with BSONCXX_ABI_CDECL.
Definition fwd.hpp:225
The top-level namespace within which all bsoncxx library entities are declared.
The top-level namespace reserved for the C++ standard library.
Provides std::string_view-related polyfills for library API usage.