This commit is contained in:
2025-07-18 19:05:41 +03:00
parent e7c2826b5c
commit 464c262e08
12 changed files with 419 additions and 104 deletions

View File

@@ -164,8 +164,9 @@ concept mcc_nonconst_lvref = std::is_lvalue_reference_v<T> && !std::is_const_v<s
template <typename T>
concept mcc_error_c = std::convertible_to<T, bool>;
// concept mcc_error_c = std::convertible_to<T, bool> && mcc_formattable<T>;
concept mcc_error_c = std::convertible_to<T, bool> || requires(const T t) {
{ t.operator bool() };
};
namespace details
{