With C++20’s extensions to constexpr, I’m a bit surprised that R"..." doesn’t parse the string at compile time and build a constexpr object. That would then allow the compiler to inline the various matcher functions. Possibly at Google scale that would cause compile times to become too huge.
With C++20’s extensions to constexpr, I’m a bit surprised that
R"..."
doesn’t parse the string at compile time and build a constexpr object. That would then allow the compiler to inline the various matcher functions. Possibly at Google scale that would cause compile times to become too huge.