This commit is contained in:
2026-06-19 12:47:49 +03:00
parent a1d4134551
commit 197c4fc53b

View File

@@ -211,7 +211,7 @@ public:
// trivial conversion functions
auto add_cnv_func = [this]<size_t I>(KeyT const& kk) {
using u_t = std::tuple_element_t<I, std::tuple<Ts...>>;
if constexpr (!std::same_as<VT, u_t>) { // user type must differ from inserted one
if constexpr (!std::same_as<v_t, u_t>) { // user type must differ from inserted one
if constexpr (!requires(v_t v, u_t u) {
v = u;
u = v;