in reply to Interfacing Perl with C++, using XS, with external files, and using the STL as parameters and return values.

Exceptions? So, my code throws exceptions. I cannot catch them, they cause Perl to blow up.

FWIW: In my version of Devel::Size.xs, I catch exceptions. The method I use works for MSVC & gcc on both 32 & 64-bit.

Whether it is compatible with C++ I don't know.