File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1029,6 +1029,11 @@ public:
1029
1029
>
1030
1030
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 void
1031
1031
__sfinae_call_emplace_hint_unique (const_iterator __p, __get_node_value_type_t <_Tp>&& __value, false_type) {
1032
+ // TODO:
1033
+ // Using sfinae was thought to be needed, to avoid "instantiation" of a copy constructor
1034
+ // but that original idea fell through, so these __sfinae_* overloads could very likely be collpased into
1035
+ // if constexpr {...} else {...} anyway.
1036
+
1032
1037
// __emplace_hint_unique(__p, std::move(__value.first), std::move(__value.second));
1033
1038
// static_assert(false, "Can not emplace during constant evaluation if the key is `const MoveOnly` ");
1034
1039
// TODO: somehow flag this code if it executes during compile time
You can’t perform that action at this time.
0 commit comments