You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
708 B
31 lines
708 B
#ifndef BOOST_THROW_EXCEPTION_H_INCLUDED
|
|
#define BOOST_THROW_EXCEPTION_H_INCLUDED
|
|
|
|
|
|
//
|
|
// boost/throw_exception.h
|
|
//
|
|
// Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
|
|
//
|
|
// Permission to copy, use, modify, sell and distribute this software
|
|
// is granted provided this copyright notice appears in all copies.
|
|
// This software is provided "as is" without express or implied
|
|
// warranty, and with no claim as to its suitability for any purpose.
|
|
//
|
|
// http://www.boost.org/libs/utility/throw_exception.html
|
|
//
|
|
|
|
# include <exception>
|
|
|
|
namespace myboost
|
|
{
|
|
|
|
template<class E> void throw_exception(E const & e)
|
|
{
|
|
throw e;
|
|
}
|
|
|
|
} // namespace myboost
|
|
|
|
#endif // #ifndef BOOST_THROW_EXCEPTION_H_INCLUDED
|