21 #include <bsoncxx/array/element.hpp>
22 #include <bsoncxx/document/view.hpp>
24 #include <bsoncxx/config/prelude.hpp>
27 BSONCXX_INLINE_NAMESPACE_BEGIN
30 namespace bson_value {
87 element operator[](std::uint32_t i)
const;
104 view(
const std::uint8_t* data, std::size_t length);
111 const std::uint8_t* data()
const;
121 std::size_t length()
const;
143 friend BSONCXX_API
bool BSONCXX_CALL operator==(
view,
view);
144 friend BSONCXX_API
bool BSONCXX_CALL operator!=(
view,
view);
167 using iterator_category = std::forward_iterator_tag;
168 using difference_type = std::ptrdiff_t;
197 BSONCXX_INLINE_NAMESPACE_END
200 #include <bsoncxx/config/postlude.hpp>