As far as I know, there are two propsals for uniform call syntax for C++17 (where the other one is called unified call syntax).
Reading them, I cant see how they intend to handle namespaces.
Example:
class Class {...}
namespace MyNamespace {
void f(Class x, Class y);
}
Will it be possible to call this method using something like:
Class a, b;
a.MyNamespace::f(b);
Or do both the free function, and the class need to be defined in the same namespace?
References:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4174.pdf
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4165.pdf
f(x, y)
to callx.f(y)
if ordinary lookup fails to find a viablef
, and not the reverse. I don't think there's a paper nailing down all the details yet, but I'd be surprised if they want to touch qualified calls. – T.C.