DMD 1.022 and 2.005 releases
BCS
BCS at pathlink.com
Fri Oct 5 14:11:44 PDT 2007
Walter Bright wrote:
> BCS wrote:
>
>> --To what extent does overloading work across C++/D?
>
>
> Don't know what you mean.
>
will this work?
extern(c++)
{
int Foo(int i);
int Foo(int* ip);
}
void bar()
{
int i;
Foo(i);
Foo(&i);
}
What about if there is a
void Foo(int[] ia){...} // non extern(c++)
Will that overload with the c++ functions?
Can D define overloaded extern(c++) function for C++ to link with?
>> --Is dmc going to get an "extern(D)" extension?
>
>
> No.
Shucks.
More information about the Digitalmars-d-announce
mailing list