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

This concept is satisfied if cstr can be constructed from T. More...

#include <conststr.hpp>

Concept definition

template<typename T>
concept conststr::can_construct_cstr_from = requires(const T &t) { cstr{t}; }
This concept is satisfied if cstr can be constructed from T.
Definition: conststr.hpp:586
cstr(const T(&)[N]) -> cstr< N - 1, T, std::basic_string_view< T > >
Deduction guide for cstr with default view type.

Detailed Description

This concept is satisfied if cstr can be constructed from T.

Template Parameters
Ttype that can be used to construct cstr