http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60448

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Alisdair Meredith from comment #1)
> Created attachment 32287 [details]
> Cleaner tagging scheme for the local class
> 
> Simplified the example to more directly expose the local class via ADL
> without any funky casts.

Clang and G++ both reject this because the swap call is ambiguous

Reply via email to