A typical use case is to disambiguate , as in the following case:
import std.path;
import std.string;
void main(){
//Error: std.path.join()(const(char)[] p1, const(char)[] p2, const(char[])[] more...) at ... conflicts with std.string.join at ...
auto a="".join("\n");
//what I'd like to have:
auto a="".(std.path.join)("\n");
}
note: the fact that std.path.join!().join is deprecated is irrelevant to this discussion.
Any chance this could be supported?
benefits:
avoids breaking UFCS chains