conststr 0.2.1
Loading...
Searching...
No Matches
conststr::can_construct_cstr_t_from Concept Reference

This concept is satisfied if cstr can be constructed from T and the value_type of the cstr is CharT. More...

#include <conststr.hpp>

Concept definition

template<typename T, typename CharT>
std::same_as<typename decltype(cstr(std::declval<T>()))::value_type, CharT>
This concept is satisfied if cstr can be constructed from T and the value_type of the cstr is CharT.
Definition: conststr.hpp:595

Detailed Description

This concept is satisfied if cstr can be constructed from T and the value_type of the cstr is CharT.

Template Parameters
Ttype that can be used to construct cstr
CharTexpected value_type of cstr