iris::build::Pattern Class Reference
Doxygen 1.15.0 generates this reference during each site build from the public headers. The C++ guide shows the API in use.
A pattern of a line, find or sections arm, built at run time. More...
#include <iris/build.hpp>
Public Member Functions | |
| Pattern & | text (std::string_view text) & |
| Append the literal text text. | |
| Pattern && | text (std::string_view text) && |
| Append the literal text text. | |
| template<PatternPart T> | |
| Pattern & | part (const T &part) & |
| Append the part part. | |
| template<PatternPart T> | |
| Pattern && | part (const T &part) && |
| Append the part part. | |
Detailed Description
A pattern of a line, find or sections arm, built at run time.
pattern() builds one from a string literal checked at compile time; this class builds one from text known only at run time, which build() checks.
macOS's QuickDraw, which <ApplicationServices/ApplicationServices.h> includes, declares a global type Pattern, so under using namespace iris::build; an unqualified Pattern is ambiguous where that header is included. Add using iris::build::Pattern; inside a function or namespace, since at global scope it collides with QuickDraw's.
Member Function Documentation
part() [1/2]
| Pattern & iris::build::Pattern::part | ( | const T & | part | ) | & |
Append the part part.
part() [2/2]
|
nodiscard |
Append the part part.