Feb 19, 2020
Post comments count12
Post likes count1
If you plan on keeping the parameter anyway, then there’s no need to have separate T const& and T&& overloads
You can just take it by value and move it out.