Thread overview
extern (C++, N) is it implemented?
Aug 06, 2014
Alexandr Druzhinin
Aug 06, 2014
Dicebot
Aug 06, 2014
Alexandr Druzhinin
Aug 06, 2014
hane
August 06, 2014
This dlang.org/cpp_interface.html says I can do the following

// c++
namespace N {
	void someCppFunction();
}

// d
extern (C++, N) void someCppFunction();

but this http://dpaste.dzfl.pl/e2242263e1dc says I can't

Is this feature implemented?
August 06, 2014
On Wednesday, 6 August 2014 at 06:50:59 UTC, Alexandr Druzhinin wrote:
> This dlang.org/cpp_interface.html says I can do the following
>
> // c++
> namespace N {
> 	void someCppFunction();
> }
>
> // d
> extern (C++, N) void someCppFunction();
>
> but this http://dpaste.dzfl.pl/e2242263e1dc says I can't
>
> Is this feature implemented?

Should be in upcoming release.
August 06, 2014
06.08.2014 10:54, Dicebot пишет:
> On Wednesday, 6 August 2014 at 06:50:59 UTC, Alexandr Druzhinin wrote:
>> This dlang.org/cpp_interface.html says I can do the following
>>
>> // c++
>> namespace N {
>>     void someCppFunction();
>> }
>>
>> // d
>> extern (C++, N) void someCppFunction();
>>
>> but this http://dpaste.dzfl.pl/e2242263e1dc says I can't
>>
>> Is this feature implemented?
>
> Should be in upcoming release.

Ok. Hope it will )
August 06, 2014
On Wednesday, 6 August 2014 at 06:50:59 UTC, Alexandr Druzhinin wrote:
> This dlang.org/cpp_interface.html says I can do the following
>
> // c++
> namespace N {
> 	void someCppFunction();
> }
>
> // d
> extern (C++, N) void someCppFunction();
>
> but this http://dpaste.dzfl.pl/e2242263e1dc says I can't
>
> Is this feature implemented?

dpaste provides DMD2.063 as "DMD 2.x Git"!
http://dpaste.dzfl.pl/8dd68f98dbd73