in reply to can we call c++ in perl to process PDL arrays?

It works just the same a C except that C++ mangles function names so you must mark the functions you wish to call as extern "C". The functions can not be non-static member functions.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Replies are listed 'Best First'.
Re^2: can we call c++ in perl to process PDL arrays?
by toothedsword (Sexton) on Nov 13, 2019 at 16:38 UTC
    Thank you so much, I will try it.