http://d.puremagic.com/issues/show_bug.cgi?id=6857



--- Comment #80 from yebblies <yebbl...@gmail.com> 2012-07-10 14:02:54 EST ---
(In reply to comment #79)
> (In reply to comment #78)
> But it does seem to be down to two problems with D's design:
> - structs aren't guaranteed to be safe to just bit-copy (this problem was
> introduced in D2)
> - we have variadics that are really just C's variadics with typeinfo added
> 

We also have C's variadics.

> Something else I should've realised earlier: Why do D class methods need to be
> directly callable from C?  (How does C code hold a reference to a D object,
> anyway?)  Indeed, is even C++ designed to accommodate this?

COM classes defined in D are callable from C (and you could define other
classes the same way).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to