CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::ConvertibleFromString Concept Reference

A concept that checks if the type T can be converted from a StringView by using a StringConverter. More...

#include <CeresEngine/Foundation/String.hpp>

Concept definition

template<typename T>
concept CeresEngine::ConvertibleFromString = requires(StringView string) {
{ StringConversion<T>::fromString(string) } -> impl::CSame<T>;
}
A concept that checks if the type T can be converted from a StringView by using a StringConverter.
Definition String.hpp:393
Definition String.hpp:368
BasicStringView< char > StringView
Narrow string view used for handling narrow encoded text in UTF-8.
Definition String.hpp:190

Detailed Description

A concept that checks if the type T can be converted from a StringView by using a StringConverter.