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
='2022-11-09 13:45:24 +0100'>2022-11-09machine/digital-ocean: Pull operating system definition out of string....Ricardo Wurmus 2022-11-09machine/digital-ocean: Set load path to Guile 3.0 directories....Ricardo Wurmus 2022-11-09machine/digital-ocean: Use static-networking-service-type....Ricardo Wurmus 2022-11-09machine/digital-ocean: Use nightly Guix....Ricardo Wurmus 2022-10-17guix: Fix typos....Julien Lepiller 2022-09-26machine: ssh: Parameterize '%current-system' early on....Ludovic Courtès 2022-09-04Fix misspelling of GUIX_DIGITAL_OCEAN_TOKEN....Matthew James Kraai 2022-03-01initrd: Use non-hyphenated kernel command-line parameter names....Maxim Cournoyer 2022-01-16machine: ssh: Add 'safety-checks?' field....Ludovic Courtès 2022-01-09machine: ssh: Open a single SSH session per machine....Ludovic Courtès