concept to check if a type is convertible to std::string_view
More...
#include <taskflow/core/graph.hpp>
template<typename T>
concept to check if a type is convertible to std::string_view
Definition graph.hpp:188
concept to check if a type is convertible to std::string_view
A type satisfies tf::StringLike if it is convertible to std::string_view, including:
- std::string
- std::string_view
- const char*
- any type that provides an implicit conversion to std::string_view
struct MyString {
operator std::string_view() const { return _data; }
std::string _data;
};