Focus
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sat Jan 19 05:57:00 PST 2013
On 1/19/13 8:21 AM, Maxim Fomin wrote:
> How much chances does this program have?
> ----------mylib.di--------
> class A
> {
> public int i;
> }
>
> void foo(A a);
> ---------mylib.d---------
> class A
> {
> public int i;
> private int ii;
> }
Looks like an ODR violation, but oddly there's nothing stopping us from
making this work. It's a good idea to pursue.
Andrei
More information about the Digitalmars-d
mailing list