Boost.Redis

    • Introduction
    • Requests and responses
    • Cancellation and timeouts
    • Serializing and parsing into custom types
    • Authentication
    • Logging
    • Sentinel
    • Echo server benchmark
    • Comparison with other Redis clients
    • Examples
    • Reference
    • Acknowledgements
    • Changelog
  • boost::redis::resp3::flat_tree::operator[]
arrow_upward

boost::redis::resp3::flat_tree::operator[]

Returns a reference to the node at the specified position (unchecked access).

Synopsis

Declared in <boost/redis/resp3/flat_tree.hpp>

node_view const&
operator[](std::size_t i) const noexcept;

Precondition

i < size().

Exception safety

No‐throw guarantee.

Return Value

A reference to the node at position i.

Parameters

Name Description

i

Position of the node to return.

Created with MrDocs