Skip to main content

is_op Concept

C++20 concept satisfied when a type derives from op. More...

Definition

template <class T>
concept micro_os_plus::micro_test_plus::type_traits::is_op = std::is_base_of_v<type_traits::op, T>

Description

C++20 concept satisfied when a type derives from op.

Template Parameters
T

The type to be checked.

The is_op concept is satisfied when T is derived from the type_traits::op base struct. It is the primary definition used throughout the framework; is_op_v is derived from it for use in if constexpr and boolean contexts.

Definition at line 437 of file type-traits.h.

  template<class T>
  concept is_op = std::is_base_of_v<type_traits::op, T>

Generated via doxygen2docusaurus 2.2.0 by Doxygen 1.17.0.