header_utils
Loading...
Searching...
No Matches
ghassanpl::string_ops::string_or_char Concept Reference

The type is a stringable or a character. More...

#include <string_ops.h>

Concept definition

template<typename T, typename CHAR_TYPE char>
concept ghassanpl::string_ops::string_or_char = std::is_constructible_v<std::basic_string_view<CHAR_TYPE>, T> || std::is_constructible_v<CHAR_TYPE, T>
The type is a stringable or a character.
Definition string_ops.h:40

Detailed Description

The type is a stringable or a character.

Template Parameters
CHAR_TYPEthe base char type, char by default

Definition at line 40 of file string_ops.h.