161 using iterator_category = std::forward_iterator_tag;
162 using difference_type = std::ptrdiff_t;
192#include <bsoncxx/config/postlude.hpp>
Provides bsoncxx::v_noabi::array::element.
Declares bsoncxx::v_noabi::array::view.
#define BSONCXX_ABI_EXPORT_CDECL(...)
Equivalent to BSONCXX_ABI_EXPORT with BSONCXX_ABI_CDECL.
Definition export.hpp:52
The bsoncxx v_noabi macro guard prelude header.
A const iterator over the contents of an array view.
Definition view.hpp:153
view()
Default constructs a view. The resulting view will be initialized to point at an empty BSON array.
A variant view type that accesses values in serialized BSON arrays.
Definition element.hpp:39
A const iterator over the contents of an array view.
Definition view.hpp:153
element value_type
std::iterator_traits
Definition view.hpp:158
bool empty() const
Checks if the underlying buffer is empty, i.e. it is equivalent to the trivial array '[]'.
std::size_t length() const
Gets the length of the underlying buffer.
const_iterator find(std::uint32_t i) const
Indexes into this BSON array. If the index is out-of-bounds, a past-the-end iterator will be returned...
const_iterator end() const
const_iterator begin() const
const_iterator cend() const
const_iterator cbegin() const
view()
Default constructs a view. The resulting view will be initialized to point at an empty BSON array.
std::uint8_t const * data() const
Access the raw bytes of the underlying array.
element operator[](std::uint32_t i) const
Indexes into this BSON array. If the index is out-of-bounds, the invalid array::element will be retur...
Provides bsoncxx::v_noabi::document::view.
Declares entities representing a BSON array.
Declares entities representing a BSON document.
Declares entities whose ABI stability is NOT guaranteed.
The top-level namespace within which all bsoncxx library entities are declared.
Declares bsoncxx::v_noabi::types::bson_value::view.