boost crowd.
Alexey Veselovsky
alexey.veselovsky at gmail.com
Mon Nov 28 03:41:50 PST 2011
> module foo;
>
> struct Foo {
> void foo();
> }
>
> ---------- .d file -------------
>
> module foo;
>
> struct Foo {
> void foo() { ... code ... }
> }
ok. What about:
struct Foo {
int a;
int b;
// 100 more fields
...
void foo();
}
Did I must write in implementation all this 100+ fields in implementation?
In Ada and Modula there is 2 languages: one for implementation and
another for specification. (specification language not subset of
implementation language). I think it is right.
More information about the Digitalmars-d
mailing list