diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-03-08 17:23:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-03-08 17:23:30 +0200 |
commit | 0bce70a0e483294b83b8bf9d5468838a63405612 (patch) | |
tree | d11afb4998d6980435c15c4df6e40b1979531672 /examples/cxx/hybrid/binary/custom/exceptions.hxx | |
parent | 6c63b913179127e09ed7d9da8920493ccceec6ce (diff) |
Add support for binary representations
xsde/cxx/hybrid/insertion-*: insertion operators generator
xsde/cxx/hybrid/extraction-*: extraction operators generator
libxsde/xsde/cxx/hybrid/cdr/: CDR support code
libxsde/xsde/cxx/hybrid/xdr/: XDR support code
tests/cxx/hybrid/binary/: new tests
examples/cxx/hybrid/binary/: new examples
documentation/cxx/hybrid/guide/: new chapter
Diffstat (limited to 'examples/cxx/hybrid/binary/custom/exceptions.hxx')
-rw-r--r-- | examples/cxx/hybrid/binary/custom/exceptions.hxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/cxx/hybrid/binary/custom/exceptions.hxx b/examples/cxx/hybrid/binary/custom/exceptions.hxx new file mode 100644 index 0000000..0111799 --- /dev/null +++ b/examples/cxx/hybrid/binary/custom/exceptions.hxx @@ -0,0 +1,16 @@ +// file : examples/cxx/hybrid/binary/custom/exceptions.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : not copyrighted - public domain + +#ifndef EXCEPTIONS_HXX +#define EXCEPTIONS_HXX + +#include <exception> // std::exception + +struct raw_exception: std::exception +{ + virtual const char* + what () const throw (); +}; + +#endif // EXCEPTIONS_HXX |