Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As a start, this patch removes hpx_fwd.hpp from all of hpx/util and deals with the avalanche for the rest of the headers.
- Loading branch information
Showing
105 changed files
with
495 additions
and
337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright (c) 2015 Thomas Heller | ||
// | ||
// Distributed under the Boost Software License, Version 1.0. (See accompanying | ||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
#if !defined(HPX_CONFIG_ASIO_HPP) | ||
#define HPX_CONFIG_ASIO_HPP | ||
|
||
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) | ||
#include <winsock2.h> | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Copyright (c) 2007-2014 Hartmut Kaiser | ||
// Copyright (c) 2011 Bryce Lelbach | ||
// | ||
// Distributed under the Boost Software License, Version 1.0. (See accompanying | ||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
/// \file exception_fwd.hpp | ||
|
||
#ifndef HPX_EXCEPTION_FWD_HPP | ||
#define HPX_EXCEPTION_FWD_HPP | ||
|
||
#include <hpx/config/export_definitions.hpp> | ||
|
||
/// \cond NOINTERNAL | ||
namespace boost | ||
{ | ||
class exception_ptr; | ||
} | ||
/// \endcond | ||
|
||
namespace hpx | ||
{ | ||
/// \cond NOINTERNAL | ||
// forward declaration | ||
class error_code; | ||
class exception; | ||
/// \endcond | ||
|
||
/// \brief Predefined error_code object used as "throw on error" tag. | ||
/// | ||
/// The predefined hpx::error_code object \a hpx::throws is supplied for use as | ||
/// a "throw on error" tag. | ||
/// | ||
/// Functions that specify an argument in the form 'error_code& ec=throws' | ||
/// (with appropriate namespace qualifiers), have the following error | ||
/// handling semantics: | ||
/// | ||
/// If &ec != &throws and an error occurred: ec.value() returns the | ||
/// implementation specific error number for the particular error that | ||
/// occurred and ec.category() returns the error_category for ec.value(). | ||
/// | ||
/// If &ec != &throws and an error did not occur, ec.clear(). | ||
/// | ||
/// If an error occurs and &ec == &throws, the function throws an exception | ||
/// of type \a hpx::exception or of a type derived from it. The exception's | ||
/// \a get_errorcode() member function returns a reference to an | ||
/// \a hpx::error_code object with the behavior as specified above. | ||
/// | ||
HPX_EXCEPTION_EXPORT extern error_code throws; | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.