Skip to content

iris::build::PatternArg 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.

The pattern of a statement: a Pattern, or a string literal without placeholders, checked at compile time. More...

#include <iris/build.hpp>

Public Member Functions

 PatternArg (const Pattern &pattern)
 The pattern pattern.
template<class S>
requires std::convertible_to<const S &, std::string_view>
consteval PatternArg (const S &text)
 The pattern of the literal text text.

Detailed Description

The pattern of a statement: a Pattern, or a string literal without placeholders, checked at compile time.

Constructor & Destructor Documentation

PatternArg() [1/2]

iris::build::PatternArg::PatternArg ( const Pattern & pattern)
inline

The pattern pattern.

PatternArg() [2/2]

template<class S>
requires std::convertible_to<const S &, std::string_view>
iris::build::PatternArg::PatternArg ( const S & text)
inlineconsteval

The pattern of the literal text text.