extern(C++, ns)
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jan 2 23:04:43 PST 2016
On 1/2/2016 9:45 PM, Manu via Digitalmars-d wrote:
> I've been using recursive modules to place extern(C++) declarations in a
> sensible scope quite a lot. It breaks sometimes, not sure why... suspect it's
> related to forward referencing, or multiple/semi-circular imports.
It's a bug if circular imports do not work. But circular imports are not allowed
in Go, and I consider them as something to avoid. They can be very confusing to
try and follow.
More information about the Digitalmars-d
mailing list