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
guix/commit/gnu/packages/openpgp.scm?id=bc65415fb1fe998a873747ca8c5ae1f795ae71d3'>gnu: rnp: Update to 0.16.2....* gnu/packages/openpgp.scm (rnp): Update to 0.16.2. [file-name]: Use git-file-name. [patches]: Remove. [arguments]: Disable downloading testing inputs in #:configure-flags. [phases]{fixes}: Remove functionality that is no longer needed. [native-inputs]: Replace googletest-source with googletest, remove python2. * gnu/packages/patches/rnp-add-version.cmake.patch, * gnu/packages/patches/rnp-disable-ruby-rnp-tests.patch, * gnu/packages/patches/rnp-unbundle-googletest.patch: Remove files. * gnu/local.mk (dist_patch_DATA): Remove them. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jack Hill