mirror of
https://github.com/boostorg/parser.git
synced 2026-01-19 04:22:13 +00:00
Make "transform" constexpr
This commit is contained in:
@@ -6569,7 +6569,7 @@ namespace boost { namespace parser {
|
||||
/** Returns a `transform_directive` that uses invocable `F` to do its
|
||||
work. */
|
||||
template<typename F>
|
||||
auto transform(F f)
|
||||
constexpr auto transform(F f)
|
||||
{
|
||||
return transform_directive<F>{std::move(f)};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user