conststr 0.2.1
Loading...
Searching...
No Matches
conststr::meta::viewer Concept Reference

This concept is satisfied if T is a view type to a constant contiguous sequence of Elem. More...

#include <conststr.hpp>

Concept definition

template<typename T, typename Elem, typename SizeT std::size_t>
std::constructible_from<T, const Elem *, SizeT> && requires(const T &t) {
t.begin();
t.end();
t.rbegin();
t.rend();
t.size();
t[SizeT{}];
}
This concept is satisfied if T is a view type to a constant contiguous sequence of Elem.
Definition: conststr.hpp:331

Detailed Description

This concept is satisfied if T is a view type to a constant contiguous sequence of Elem.

Template Parameters
Tview type
Elemelement type
SizeTsize type of the sequence