Talk:cpp/utility/functional/less void

Why std::forward?
Is there any case possible where   differs from simple   ? --Roker (talk) 12:05, 7 December 2022 (PST)
 * One could quite happily write (leaving  undeclared) if they wanted to. Practically speaking, seems highly unlikely that rvalue and lvalue reference overloads of  would differ, at least if they're used for relational comparison (which isn't always the case, see catch2 for example). Certainly there's no advantage in omitting the forwarding, so might as well support edge cases too. --Ybab321 (talk) 13:36, 7 December 2022 (PST)