aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/hybrid/binary/custom/exceptions.hxx
blob: 0111799e7bc1f26bf41c2845836d57b025e08a0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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