From f1c2a621ac2695dfe4a3bc71dbc9ce3079008d2f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 4 Feb 2011 13:56:09 +0200 Subject: Add support for smart-ptr, unordered, and date_time (basic) --- odb/boost/exception.hxx | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 odb/boost/exception.hxx (limited to 'odb/boost/exception.hxx') diff --git a/odb/boost/exception.hxx b/odb/boost/exception.hxx new file mode 100644 index 0000000..96eb5df --- /dev/null +++ b/odb/boost/exception.hxx @@ -0,0 +1,29 @@ +// file : odb/boost/exception.hxx +// author : Boris Kolpackov +// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_BOOST_EXCEPTION_HXX +#define ODB_BOOST_EXCEPTION_HXX + +#include + +#include + +#include + +namespace odb +{ + namespace boost + { + struct LIBODB_BOOST_EXPORT exception: odb::exception + { + virtual const char* + what () const throw () = 0; + }; + } +} + +#include + +#endif // ODB_BOOST_EXCEPTION_HXX -- cgit v1.1