Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::reservable_ Concept Reference

The reservable_ concept. More...

#include <range/v3/action/concepts.hpp>

Concept definition

template<typename C>
concept ranges::reservable_ = requires( C & c, C const & cc ) { c.reserve(ranges::size(c)), cc.capacity(), cc.max_size(), concepts::requires_<same_as<decltype(cc.capacity()), decltype(ranges::size(c))>>, concepts::requires_<same_as<decltype(cc.max_size()), decltype(ranges::size(c))>> ; }
The reservable_ concept.
Definition: concepts.hpp:93
meta::size_t< L::size()> size
An integral constant wrapper that is the size of the meta::list L.
Definition: meta.hpp:1696

Detailed Description

The reservable_ concept.