Skip to content
Unverified Commit 4313351c authored by Amirreza Ashouri's avatar Amirreza Ashouri Committed by GitHub
Browse files

[clang] __is_trivially_equality_comparable for types containing lambdas (#68506)

Lambdas (closure types) are trivially equality-comparable iff they are
non-capturing, because non-capturing lambdas are convertible to function
pointers: if (lam1 == lam2) compiles, then lam1 and lam2 must have
the same type, and be always-equal, and be empty.
parent 3bfc5eb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment