Kiwaku 0.1-beta
Containers Well Made
 
Loading...
Searching...
No Matches
kwk::concepts::basic_container Concept Reference

Basic container concept. More...

#include <kwk/concepts/container.hpp>

Detailed Description

Basic container concept.

A kwk::concepts::basic_container is a type exhibiting the basic interface of a nD container.

Concept definition

template<typename T>
concept kwk::concepts::basic_container = requires(T const& t)
{
typename std::remove_cvref_t<T>::value_type;
typename std::remove_cvref_t<T>::reference;
typename std::remove_cvref_t<T>::const_reference;
typename std::remove_cvref_t<T>::pointer;
typename std::remove_cvref_t<T>::const_pointer;
{ t.order() };
{ t.kind() };
{ t.shape() };
}
Basic container concept.
Definition container.hpp:27
constexpr auto fixed
Provides a short-cut to define a std::integral_constant value from a literal integer.
Definition fixed.hpp:107