Re: [PATCH] Fix PR c++/70610 (wrong overload resolution during template processing)
OK. Jason
[PATCH] Fix PR c++/70610 (wrong overload resolution during template processing)
The gist of the issue is that with -std=c++03 or earlier a NON_DEPENDENT_EXPR is considered to always be an lvalue according to lvalue_kind(). This causes overload resolution to malfunction during template processing because it sometimes chooses an overload that expects an lvalue argument even