Skip to main content

tag_has_symbol Concept

Concept satisfied when the tag of a comparator or of a predicate has a symbol that can be written. More...

Definition​

template <class Tag_T>
concept micro_os_plus::micro_test_plus::detail::tag_has_symbol = requires {
      requires extension::printable<
          std::remove_cvref_t<decltype (Tag_T::symbol)>>;
    }

Description​

Concept satisfied when the tag of a comparator or of a predicate has a symbol that can be written.

Satisfied when the tag has a static member symbol that the formatter can write. Used by reject_compare_tag() and by reject_predicate_tag(), to tell a missing or unprintable symbol from a wrong apply().

Template Parameters
Tag_T

The tag of the comparator or of the predicate.

Definition at line 753 of file detail-inlines.h.

  template<class Tag_T>
  concept tag_has_symbol = requires {
  requires extension::printable<
  std::remove_cvref_t<decltype (Tag_T::symbol)>>;
  }

Generated via doxygen2docusaurus 2.2.8 by Doxygen 1.18.0.