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
w Tropin <andrew@trop.in> Sergey Trofimov 2022-08-19home: Fix docstring....gnu/home.scm (home-environment-derivation): Fix docstring. Andrew Tropin 2022-08-01home: Add 'home-generation-base'....This reverts commit 670818a4049edb8a77a5b596fbc7558bde57165c, thereby reinstating 5df8f7802e8b45855e8f84830677001dc631e4f7. * gnu/home.scm (%profile-generation-rx): New variable. (home-generation-base): New procedure. Ludovic Courtès 2022-07-17Revert "home: Add 'home-generation-base'."...This reverts commit 5df8f7802e8b45855e8f84830677001dc631e4f7. This commit or the next one appears to have broken ‘guix pull’. Tobias Geerinckx-Rice 2022-07-23home: Add 'home-generation-base'....* gnu/home.scm (%profile-generation-rx): New variable. (home-generation-base): New procedure. Ludovic Courtès 2021-12-19home: Add gexp-compiler for home-environments....* gnu/home.scm (home-environment-compiler): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Andrew Tropin