[libcxx-commits] [libcxx] [libc++] <algorithm>: __is_callable checks whether the callable can be called with rvalue (PR #73451)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 11 07:30:00 PST 2023


ldionne wrote:

> do you have any opinions on this? I will wait for your response before I continue.

@philnik777 Do you remember why you added the `__is_callable` checks in the first place? The Standard isn't all that clear about what the requirements are for classic algorithms, so I think removing these checks would also be a viable path forward. I seem to remember there was a good reason for adding those, so I'm reluctant to do it without remembering the context.

https://github.com/llvm/llvm-project/pull/73451


More information about the libcxx-commits mailing list