OpenEnroth 73e68f7
Loading...
Searching...
No Matches
ResizableContiguousContainer Concept Reference

#include <BinaryConcepts.h>

Concept definition

template<class Container>
concept ResizableContiguousContainer = requires (Container &container, size_t newSize) {
typename Container::value_type;
{ container.resize(newSize) } -> std::same_as<void>;
{ container.size() } -> std::same_as<size_t>;
{ container.data() } -> std::convertible_to<const typename Container::value_type *>;
}
Definition: BinaryConcepts.h:85

Detailed Description

Concept for std::vector-like containers.