Skip to content

Commit 3cb1a05

Browse files
authored
Merge pull request #249 from elbeno/better-format-error
🚸 Improve help message for `format_result` conversion
2 parents e3e8ffb + a2ca762 commit 3cb1a05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/stdx/ct_format.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ template <typename Str, typename Args> struct format_result {
4141
}
4242

4343
friend constexpr auto operator+(format_result const &) {
44-
static_assert(decltype(ct_string_convertible())::value,
44+
static_assert(always_false_v<format_result>,
4545
"Unary operator+ can only be used on a format_result "
4646
"without any runtime arguments");
4747
}

0 commit comments

Comments
 (0)