Files
compiler-explorer/test/cases/bug-1229.cpp
T
2018-12-20 16:21:00 +01:00

13 lines
226 B
C++
Generated

#include <ctre.hpp>
static constexpr auto pattern = ctll::basic_fixed_string{ "h.*" };
constexpr auto match(std::string_view sv) noexcept {
return ctre::re<pattern>().match(sv);
}
void myfunc() {
match("hello");
}