We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 343184f commit b0be669Copy full SHA for b0be669
1 file changed
app/generation/cpp-min/templates/generate.tmpl
@@ -26,7 +26,7 @@ struct CtStr {
26
std::copy_n(str, N, data);
27
}
28
[[nodiscard]] constexpr operator std::string_view() const noexcept {
29
- return std::string_view(data, N - 1);
+ return std::string_view{data, N - 1};
30
31
};
32
template <std::size_t N>
0 commit comments