cli11
Loading...
Searching...
No Matches
cli::adl_detail::lexical_castable Concept Referenceexport
module cli11

Matches types with a lexical_cast overload findable by ADL. More...

Concept definition

template<typename T, typename S = std::string>
concept lexical_castable = requires(const S &src, T &dst) { lexical_cast(src, dst); }
Matches types with a lexical_cast overload findable by ADL.
Definition type_tools.cpp:74

Detailed Description

Matches types with a lexical_cast overload findable by ADL.

Template Parameters
TThe type being converted into.
SThe source string type.