21 #include <bsoncxx/array/element.hpp>
22 #include <bsoncxx/document/view.hpp>
24 #include <bsoncxx/config/prelude.hpp>
27 BSONCXX_INLINE_NAMESPACE_BEGIN
80 element operator[](std::uint32_t i)
const;
97 view(
const std::uint8_t* data, std::size_t length);
104 const std::uint8_t* data()
const;
114 std::size_t length()
const;
133 friend BSONCXX_API
bool BSONCXX_CALL operator==(
view,
view);
134 friend BSONCXX_API
bool BSONCXX_CALL operator!=(
view,
view);
158 reference operator*();
159 pointer operator->();
182 BSONCXX_INLINE_NAMESPACE_END
185 #include <bsoncxx/config/postlude.hpp>