On Thursday, 8 September 2016 at 09:54:51 UTC, Ethan Watson wrote:
On Thursday, 8 September 2016 at 09:33:01 UTC, Dicebot wrote:
Instead, it would be much more constructive (pun unintended)
to focus on language changes to extern(c++) class bindings to
make them suitable for the task - those won't affect anyone
but C++ interop users.
I agree in principle, but it doesn't help me right now. It's
holding up my work, which means it's costing someone money.
Workarounds will have to suffice until the language can be
updated.
As a workaround I sincerely believe explicit 'create' (with
forged mangling if needed) is better. It provides exactly the
same functionality without tricking the developet into expecting
more by confusion of the syntax similarity.