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::at
arrow_upward

boost::redis::resp3::flat_tree::at

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

Synopsis

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

node_view const&
at(std::size_t i) const;

Exception safety

Strong guarantee. Throws std::out_of_range if i >= size().

Return Value

A reference to the node at position i.

Parameters

Name Description

i

Position of the node to return.

Created with MrDocs