More forwarding

This commit is contained in:
Andreas Fabri
2023-04-06 17:49:24 +01:00
parent 8d062a88ce
commit 6dec6c320d
3 changed files with 12 additions and 1 deletions
@@ -3679,6 +3679,10 @@ namespace CartesianKernelFunctors {
operator()(Return_base_tag, const RT& x, const RT& y, const RT& z) const
{ return Rep(x, y, z); }
Rep // Vector_3
operator()(Return_base_tag, RT&& x, RT&& y, RT&& z) const
{ return Rep(std::forward<RT>(x), std::forward<RT>(y), std::forward<RT>(z)); }
Rep // Vector_3
operator()(Return_base_tag, const RT& x, const RT& y, const RT& z, const RT& w) const
{ return Rep(x, y, z, w); }