Joshua Nathaniel Pritikin > Exception-Cxx-1.001 > Exception::Cxx

Download:
Exception-Cxx-1.001.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.001   Source  

NAME ^

  Exception::Cxx - Switch to ANSI C++ exceptions

SYNOPSIS ^

  use Exception::Cxx;

DESCRIPTION ^

This module arranges for perl to use ANSI C++ exceptions (instead of setjmp/longjmp). The reason you might want this is for integration with 3rd party libraries that use C++ exceptions and cannot switch back to longjmp.

BUGS ^

sigsetjmp saves more state than catch {}. In C++, sigprocmask & priocntl are not saved or restored.

C++ exceptions will not work with the CC perl compiler backend. IMO, this is a bug in the backend.

CONTACT ^

If you have suggestions or more hints files, please contact me at bitset@mindspring.com. Thanks!

AUTHOR ^

Copyright © 1997-1999 Joshua Nathaniel Pritikin. All rights reserved.

This package is free software and is provided "as is" without express or implied warranty. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)

syntax highlighting: