08-Sep-2013 09:00, Jonathan M Davis пишет:
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?
And speaking of IDEs, they easily grow a simple feature - press some
short-cut and it would display what dmd -H of the current file looks
like. No need to bend the language backwards.
- Jonathan M Davis
--
Dmitry Olshansky