cli11
Loading...
Searching...
No Matches
cli::detail::uncommon Concept Referenceexport
module cli11

Matches types none of the ordinary categories claim. More...

Concept definition

template<typename T>
concept uncommon = !std::is_floating_point_v<T> && !std::is_integral_v<T> &&
!std::is_assignable_v<T &, std::string> && !std::is_constructible_v<T, std::string> &&
!std::is_assignable_v<T &, std::wstring> && !std::is_constructible_v<T, std::wstring> &&
!complex_like<T> && !mutable_container<T> && !std::is_enum_v<T>
Matches complex-number-like types, by their accessors.
Definition type_tools.cpp:216
Matches containers that can be cleared and inserted into.
Definition type_tools.cpp:249
Matches types none of the ordinary categories claim.
Definition type_tools.cpp:794

Detailed Description

Matches types none of the ordinary categories claim.

Not arithmetic, not string-like, not complex, not a container, not an enumeration. What is left is classified by how it can be constructed.