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

boost::redis::resp3::flat_tree::capacity

Returns the capacity of the node container.

Synopsis

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

std::size_t
capacity() const noexcept;

Exception safety

No‐throw guarantee.

Return Value

The capacity of the object, in number of nodes.

Created with MrDocs