Range-v3
Range algorithms, views, and actions for the Standard Library
 
Loading...
Searching...
No Matches
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
constexpr _size_::fn size
Definition primitives.hpp:186

Detailed Description

The reservable_ concept.