Loading...
Searching...
No Matches
ranges::reservable_ Concept Reference
Range

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))>> ; }
ranges::reservable_
The reservable_ concept.
Definition concepts.hpp:93
ranges::size
constexpr _size_::fn size
Definition primitives.hpp:186

## Detailed Description

The `reservable_` concept.