has_npos Concept
C++20 concept satisfied when T provides a npos member. More...
Definition
template <class T>
concept micro_os_plus::micro_test_plus::type_traits::has_npos = requires { T::npos; }
concept micro_os_plus::micro_test_plus::type_traits::has_npos = requires { T::npos; }
Description
C++20 concept satisfied when T provides a npos member.
- Template Parameters
-
T The type to be checked.
The has_npos concept is satisfied when T exposes a static npos member, as provided by std::string_view and similar types. It is used to detect string-like types for specialised comparison and reporting within the framework.
Definition at line 380 of file type-traits.h.
template<class T>
concept has_npos = requires { T::npos; }
Generated via doxygen2docusaurus 2.2.0 by Doxygen 1.17.0.