On 09/21/2015 05:29 AM, Jacob Carlborg wrote:
> On 2015-09-21 06:22, Paul O'Neil wrote:
>> I've written more about cpp_binder and my experiences at
> About the plugin architecture. I tried modifying DMD to run DStep to
> automatically generate bindings and use them directly. I announced it as
> a proof of concept , but the community seemed to prefer having it as
> a separate tool if I recall correctly.
>  http://forum.dlang.org/thread/ks3kir$1ubq$1...@digitalmars.com
I don't like it either, but it deals with uninstantiated templates...
It also means that you can handle the curiously recurring template
pattern. If you cant instantiate the template in the D compiler, then
you need to generate C++ code that expresses the D structure and
properly instantiates the C++ template. The payoff here is bigger.
Github / IRC: todayman