aboutsummaryrefslogtreecommitdiff
#ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED
#define BOOST_THROW_EXCEPTION_HPP_INCLUDED

// MS compatible compilers support #pragma once

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif

//
//  boost/throw_exception.hpp
//
//  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 <boost/config.hpp>

#ifdef BOOST_NO_EXCEPTIONS
# include <exception>
#endif

namespace boost
{

#ifdef BOOST_NO_EXCEPTIONS

void throw_exception(std::exception const & e); // user defined

#else

template<class E> void throw_exception(E const & e)
{
    throw e;
}

#endif

} // namespace boost

#endif // #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED
ore?id=2a71a7b961ffa6e89c6509455b70027a47e1222c'>logplainabout -rw-r--r--.guix-authorizations4863logplainabout -rw-r--r--.guix-channel182logplainabout -rw-r--r--.mailmap4921logplainabout -rw-r--r--AUTHORS472logplainabout -rw-r--r--CODE-OF-CONDUCT5321logplainabout -rw-r--r--COPYING35147logplainabout -rw-r--r--ChangeLog163logplainabout -rw-r--r--HACKING748logplainabout -rw-r--r--Makefile.am37824logplainabout -rw-r--r--NEWS375424logplainabout -rw-r--r--README4885logplainabout -rw-r--r--ROADMAP3257logplainabout -rw-r--r--THANKS2388logplainabout -rw-r--r--TODO4360logplainabout -rwxr-xr-xbootstrap844logplainabout d---------build-aux688logplain -rw-r--r--config-daemon.ac4406logplainabout -rw-r--r--configure.ac8712logplainabout d---------doc504logplain d---------etc987logplain -rw-r--r--gnu.scm5289logplainabout d---------gnu840logplain -rw-r--r--guix.scm1415logplainabout d---------guix3359logplain d---------m435logplain d---------nix282logplain d---------po96logplain d---------scripts35logplain d---------tests4540logplain