Code fails with linker error. Why?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Oct 4 03:38:23 PDT 2014


On Sat, 04 Oct 2014 10:27:16 +0000
John Colvin via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:

> Sorry, but that's just not how it works. There is no requirement 
> for the definition of a function to be found in the same 
> compilation unit as it's declaration.
is there any possibility to declare *class* *method* in one file and to
implement it in another? O_O

i doubt so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20141004/673c05c5/attachment.sig>


More information about the Digitalmars-d-learn mailing list