Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::v3::concepts::Reservable Struct Reference
+ Inheritance diagram for ranges::v3::concepts::Reservable:

Public Types

template<typename C >
using size_type = decltype(std::declval< const C & >().size())
 
- Public Types inherited from ranges::v3::concepts::refines< Container >
using base_concepts_t = meta::list< Concepts... >
 

Public Member Functions

template<typename C , typename S = size_type<C>>
auto requires_ (C &&c, S &&s=S{}) -> decltype( concepts::valid_expr( concepts::model_of< Integral, S >(), ((void) c.reserve(s), 42) ))
 
- Public Member Functions inherited from ranges::v3::concepts::refines< Container >
void requires_ (Ts &&...)