From 6dcaa9f15adcb612bf02062b0043714fed9f24a1 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 c701ca49..0e99418c 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)}; }