> I'll give it some more thought, but I don't think so. I'm happy to support
> this as an extension if not -- for me the most convincing case is something
> like:
>
> extern "C" int f();
> extern "C++" int g();
> struct S {
>   friend int f();
>   friend int g();
> };
>
> I think it's impossible for S to befriend both f() and g() with the current
> behavior. (Though one might argue that you could factor out the
> implementation of f() into a function that is not extern "C", so this isn't
> necessarily a critical issue, but it is inconvenient.)

Hi Richard,

In the end, are you OK with this extension?

Cheers,
Rafael
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to