From d241bd7853c20d40076b1658876f54e490a01ea2 Mon Sep 17 00:00:00 2001 From: Andreas Buhr Date: Tue, 2 Sep 2025 15:24:42 +0200 Subject: [PATCH] Make "transform" constexpr --- include/boost/parser/parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/parser/parser.hpp b/include/boost/parser/parser.hpp index e0bdd523..1d5f9be4 100644 --- a/include/boost/parser/parser.hpp +++ b/include/boost/parser/parser.hpp @@ -6569,7 +6569,7 @@ namespace boost { namespace parser { /** Returns a `transform_directive` that uses invocable `F` to do its work. */ template - auto transform(F f) + constexpr auto transform(F f) { return transform_directive{std::move(f)}; }