new DIP47: Outlining member functions of aggregates

Jonathan M Davis jmdavisProg at gmx.com
Sat Sep 7 22:00:05 PDT 2013


On Saturday, September 07, 2013 10:00:05 Walter Bright wrote:
> Outlining of member functions is the practice of placing the declaration of
> a member function in the struct/class/union, and placing the definition of
> it at global scope in the module or even in another module.
> 
> http://wiki.dlang.org/DIP47

Actually, for those who really want this sort of thing, why don't they just 
use .di files? At that point, you're doing basically the same thing that C++ 
does anyway (which is part of why I hate .di files). What benefit over that do 
we really get by adding this feature?

- Jonathan M Davis


More information about the Digitalmars-d mailing list