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

Matches containers that can be cleared and inserted into. More...

Concept definition

template<typename T>
requires(T c) {
typename T::value_type;
c.end();
c.clear();
c.insert(c.end(), std::declval<const typename T::value_type &>());
} && !std::is_constructible_v<T, std::string> && !std::is_constructible_v<T, std::wstring>
Matches containers that can be cleared and inserted into.
Definition type_tools.cpp:249

Detailed Description

Matches containers that can be cleared and inserted into.

String types are excluded even though they satisfy the operations, since they are handled as scalars rather than as sequences of characters.