|
|
|
|
|
by leni536
2153 days ago
|
|
>
C++ could adopt the UFCS universal-function-call feature of D-language that allows any ordinary free function to be called as if they were methods, without any special kind of type annotation. It really couldn't. It would be a breaking change. |
|
IIRC Stroustrup regrets using . for member function calls (as opposed to just some syntactic sugar for any function call)