simstr 1.2.4
Yet another strings library
 
Loading...
Searching...
No Matches
simstr::StrExpr Concept Reference

Concept of "String Expressions". More...

#include <strexpr.h>

Concept definition

template<typename A>
concept simstr::StrExpr = requires(const A& a) {
typename A::symb_type;
{ a.length() } -> std::convertible_to<size_t>;
{ a.place(std::declval<typename A::symb_type*>()) } -> std::same_as<typename A::symb_type*>;
}
Concept of "String Expressions".
Definition strexpr.h:321

Detailed Description

Concept of "String Expressions".

This is a concept that checks whether a type is a "string expression".