boost crowd.

so so at so.so
Mon Nov 28 03:54:09 PST 2011


On Mon, 28 Nov 2011 13:32:12 +0200, Walter Bright  
<newshound2 at digitalmars.com> wrote:

> On 11/28/2011 3:19 AM, Alexey Veselovsky wrote:
>> Also I can't
>> write method implementation in different (implementation) file
>> (without inheritance).
>
>   ---------- .di file ------------
>
>   module foo;
>
>   struct Foo {
>         void foo();
>   }
>
>   ---------- .d file -------------
>
>   module foo;
>
>   struct Foo {
>         void foo() { ... code ... }
>   }
>
> ---------------------------------

His example which i replied was to the point.
Structs don't have any fields labeled private elsewhere, but the compiler  
still exposing private structs/functions which was used by function  
implementations.


More information about the Digitalmars-d mailing list