You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copy assignment of std::vector is mistranslated #670
Calling a = b.clone() is also broken for std::vector<std::pair<T1, T2>>.
std::pair<T1, T2> is (Value<T1>, Value<T2>), calling Clone on each element copies the Rc's of the pair. The correct operation is to deep copy the pair, not copy the Rc.
Activity
lucic71 commentedon Nov 20, 2026
Calling
a = b.clone()is also broken forstd::vector<std::pair<T1, T2>>.std::pair<T1, T2>is(Value<T1>, Value<T2>), calling Clone on each element copies the Rc's of the pair. The correct operation is to deep copy the pair, not copy the Rc.