Struct Tag

Struct Documentation

struct Tag

A view of a tag string that provides case insensitive comparisons

Note that in Catch2 internals, the square brackets around tags are not a part of tag’s representation, so e.g. “[cool-tag]” is represented as “cool-tag” internally.

Public Functions

inline constexpr Tag(StringRef original_)

Public Members

StringRef original

Friends

friend bool operator<(Tag const &lhs, Tag const &rhs)
friend bool operator==(Tag const &lhs, Tag const &rhs)