FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
ns_concept::StringConvertible Concept Reference

Concept for types implicitly convertible to std::string. More...

#include <concept.hpp>

Concept definition

template<typename T>
concept ns_concept::StringConvertible = std::is_convertible_v<std::remove_cvref_t<T>, std::string>
Concept for types implicitly convertible to std::string.
Definition concept.hpp:351

Detailed Description

Concept for types implicitly convertible to std::string.

Template Parameters
TThe type to check

Example: const char*, std::string_view (with conversion operator)

Definition at line 351 of file concept.hpp.