cli11
Loading...
Searching...
No Matches
cli::shared_ptr_like Concept Referenceexport
module cli11

Matches std::shared_ptr, with or without top-level const. More...

Concept definition

template<typename T>
concept shared_ptr_like = requires {
typename std::remove_cv_t<T>::element_type;
} && std::same_as<std::remove_cv_t<T>, std::shared_ptr<typename std::remove_cv_t<T>::element_type>>
Matches std::shared_ptr, with or without top-level const.
Definition type_tools.cpp:39

Detailed Description

Matches std::shared_ptr, with or without top-level const.