|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D - forward references
Their implementation in D seems unclear to me.
On one hand, they are allowed - at least in alpha:
int function(int n); // works!
On other hand, they don't serve any practical meaning -
D doesn't need them anyhow, and there is no way
to define a body once the prototype was declared:
int function(int n) { } // symbol conflict
So what are they for?
Dec 15 2001
"Pavel Minayev" <evilone omen.ru> wrote in message news:9vgete$138v$1 digitaldaemon.com... Dec 16 2001
|