Skip to main content

has_npos Concept

Deprecated 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; }

Description​

Deprecated concept satisfied when T provides a npos member.

Template Parameters
T

The type to be checked.

Restored with its v5.0.1 definition, satisfied by any type with a member named npos. It is not used by the framework any more, which detects the strings with detail::string_like, so that the containers with a member named npos are compared element by element.

Deprecated

there is no replacement; the concept used by the framework is internal (since 6.0.0)

Definition at line 2537 of file deprecated.h.

  template<class T>
  concept has_npos = requires { T::npos; }

Generated via doxygen2docusaurus 2.2.8 by Doxygen 1.18.0.