Skip to content

Commit

Permalink
Fixing unrelated compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Aug 22, 2017
1 parent 13525b2 commit d101822
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions hpx/parallel/execution_policy.hpp
Expand Up @@ -322,6 +322,12 @@ namespace hpx { namespace parallel { namespace execution
HPX_CONSTEXPR Parameters const& parameters() const { return params_; }

/// \cond NOINTERNAL
template <typename Dependent = void,
typename Enable = typename std::enable_if<
std::is_constructible<Executor>::value &&
std::is_constructible<Parameters>::value,
Dependent
>::type>
HPX_CONSTEXPR sequenced_task_policy_shim() {}

template <typename Executor_, typename Parameters_>
Expand Down Expand Up @@ -619,6 +625,12 @@ namespace hpx { namespace parallel { namespace execution
HPX_CONSTEXPR Parameters const& parameters() const { return params_; }

/// \cond NOINTERNAL
template <typename Dependent = void,
typename Enable = typename std::enable_if<
std::is_constructible<Executor>::value &&
std::is_constructible<Parameters>::value,
Dependent
>::type>
HPX_CONSTEXPR sequenced_policy_shim() {}

template <typename Executor_, typename Parameters_>
Expand Down Expand Up @@ -917,6 +929,12 @@ namespace hpx { namespace parallel { namespace execution
HPX_CONSTEXPR Parameters const& parameters() const { return params_; }

/// \cond NOINTERNAL
template <typename Dependent = void,
typename Enable = typename std::enable_if<
std::is_constructible<Executor>::value &&
std::is_constructible<Parameters>::value,
Dependent
>::type>
HPX_CONSTEXPR parallel_task_policy_shim() {}

template <typename Executor_, typename Parameters_>
Expand Down Expand Up @@ -1206,6 +1224,12 @@ namespace hpx { namespace parallel { namespace execution
HPX_CONSTEXPR Parameters const& parameters() const { return params_; }

/// \cond NOINTERNAL
template <typename Dependent = void,
typename Enable = typename std::enable_if<
std::is_constructible<Executor>::value &&
std::is_constructible<Parameters>::value,
Dependent
>::type>
HPX_CONSTEXPR parallel_policy_shim() {}

template <typename Executor_, typename Parameters_>
Expand Down

0 comments on commit d101822

Please sign in to comment.