Skip to main content

static_suite_body Concept

The body of a static suite written for v5.0.1, whose first parameter is a static_suite& reference. More...

Definition​

template <typename Callable_T, typename... Args_T>
concept micro_os_plus::micro_test_plus::detail::static_suite_body = (!std::is_invocable_v<std::decay_t<Callable_T>&, suite&,
                                std::decay_t<Args_T>&...>)
          && std::is_invocable_v<std::decay_t<Callable_T>&, static_suite&,
                                 std::decay_t<Args_T>&...>

Description​

The body of a static suite written for v5.0.1, whose first parameter is a static_suite& reference.

Satisfied by a callable that cannot be invoked with a suite& reference, but can be invoked with a static_suite& one, followed by the arguments as stored (decayed, non-const lvalues). It selects the deprecated constructor of static_suite; the callables that accept a suite& reference, including the generic lambdas, do not satisfy it.

Template Parameters
Callable_T

The type of the callable object.

Args_T

The types of the callable arguments.

Definition at line 2593 of file test.h.

  template<typename Callable_T, typename... Args_T>
  concept static_suite_body = (!std::is_invocable_v<std::decay_t<Callable_T>&, suite&,
  std::decay_t<Args_T>&...>)
  && std::is_invocable_v<std::decay_t<Callable_T>&, static_suite&,
  std::decay_t<Args_T>&...>

Generated via doxygen2docusaurus 2.2.8 by Doxygen 1.18.0.