This commit is contained in:
2026-09-08 09:15:43 +03:00
parent af100b6b01
commit f8c5f8dbad

View File

@@ -663,7 +663,9 @@ public:
using u_t = std::invoke_result_t<decltype(from_cnv_func), v_t>::value_type;
// user type must differ from inserted one
static_assert(!std::same_as<v_t, u_t>, "INVALID CONVERSIONAL 'FROM-FUNCTION' SIGNATURE!");
if constexpr (std::same_as<v_t, u_t>) { // just ignore the such type
return;
}
_getter<u_t>[this].emplace(
kk,