Cxx.jl icon indicating copy to clipboard operation
Cxx.jl copied to clipboard

Calling constructor of templated class via cxx-macro

Open oschulz opened this issue 8 years ago • 2 comments

Would it be possible to support something like this?

@cxx std::vector<int>(42)

oschulz avatar Nov 22 '16 08:11 oschulz

@cxx std::vector{int}(42) should theoretically work, but fails right now due to a bug in how it looks up symbols. I can probably fix that.

Keno avatar Nov 23 '16 00:11 Keno

That would be handy - thanks!

oschulz avatar Nov 23 '16 01:11 oschulz