iris::build::PatternString< Parts > Class Template 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 string with one {} for each of the types Parts, checked at compile time. More...
#include <iris/build.hpp>
Public Member Functions | |
| template<class S> requires std::convertible_to<const S &, std::string_view> | |
| consteval | PatternString (const S &text) |
| The pattern string text, a string literal. | |
| constexpr std::string_view | text () const |
| Return the text. | |
Detailed Description
template<class... Parts>
class iris::build::PatternString< Parts >
class iris::build::PatternString< Parts >
A pattern string with one {} for each of the types Parts, checked at compile time.
Every { must be the start of a {}, and the text may not contain ...; use rest_of_line for that.
Constructor & Destructor Documentation
PatternString()
template<class... Parts>
template<class S>
requires std::convertible_to<const S &, std::string_view>
requires std::convertible_to<const S &, std::string_view>
|
inlineconsteval |
The pattern string text, a string literal.
Member Function Documentation
text()
template<class... Parts>
|
inlinenodiscardconstexpr |
Return the text.