If you had money to place for a bounty, what would you choose?

Manu turkeyman at gmail.com
Wed Dec 4 01:30:53 PST 2013


On 4 December 2013 19:24, Jacob Carlborg <doob at me.com> wrote:

> On 2013-12-04 10:12, Iain Buclaw wrote:
>
>  Forget templates and everything else...
>>
>
> Then it's not complete, just as I said.


In a sense. But I don't think the goal is to be able to write C++ code in
D. It's just to achieve binary compatibility.
Templates in C++ must be declared in header files, and are rarely present
in libs. You almost never link a template instance.
In the extremely rare event that you want to (I've never wanted to), it's
not inconceivable that an extern(C++) template with super-restrictive
template parameter rules could be made to mangle the same as C++, and then
it truly would be complete :)
I personally have no use for this though... but it's probably technically
possible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20131204/4c92be32/attachment.html>


More information about the Digitalmars-d mailing list