// warnings about unused arguments
(void)grainsize;
-# ifndef DEAL_II_BIND_NO_CONST_OP_PARENTHESES
f(begin, end);
-# else
- // work around a problem with MS VC++ where there is no const
- // operator() in 'Function' if 'Function' is the result of std::bind
- Function ff = f;
- ff(begin, end);
-# endif
#else
internal::parallel_for(begin,
end,
// warnings about unused arguments
(void)grainsize;
-# ifndef DEAL_II_BIND_NO_CONST_OP_PARENTHESES
return f(begin, end);
-# else
- // work around a problem with MS VC++ where there is no const
- // operator() in 'Function' if 'Function' is the result of std::bind
- Function ff = f;
- return ff(begin, end);
-# endif
#else
internal::ReductionOnSubranges<ResultType, Function> reductor(
f, std::plus<ResultType>(), 0);
friend class dealii::SymmetricTensor;
template <int, int, bool, int, typename>
friend class Accessor;
-#ifndef DEAL_II_TEMPL_SPEC_FRIEND_BUG
friend class ::dealii::SymmetricTensor<rank, dim, Number>;
friend class Accessor<rank, dim, constness, P + 1, Number>;
-#endif
};
friend class dealii::SymmetricTensor;
template <int, int, bool, int, typename>
friend class SymmetricTensorAccessors::Accessor;
-#ifndef DEAL_II_TEMPL_SPEC_FRIEND_BUG
friend class ::dealii::SymmetricTensor<rank, dim, Number>;
friend class SymmetricTensorAccessors::
Accessor<rank, dim, constness, 2, Number>;
-#endif
};
} // namespace SymmetricTensorAccessors
} // namespace internal
friend class dealii::Table;
template <int N1, typename T1, bool C1, unsigned int P1>
friend class Accessor;
-#ifndef DEAL_II_TEMPL_SPEC_FRIEND_BUG
friend class dealii::Table<N, T>;
friend class Accessor<N, T, C, P + 1>;
-#endif
};
friend class dealii::Table;
template <int N1, typename T1, bool C1, unsigned int P1>
friend class Accessor;
-#ifndef DEAL_II_TEMPL_SPEC_FRIEND_BUG
friend class dealii::Table<2, T>;
friend class Accessor<N, T, C, 2>;
-#endif
};
} // namespace TableBaseAccessors
fun_ptr, std::ref(c), internal::maybe_make_ref<Args>::act(args)...)));
}
-# ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
/**
* Overload of the new_thread function for const member functions.
*
return new_thread(std::function<RT()>(std::bind(
fun_ptr, std::cref(c), internal::maybe_make_ref<Args>::act(args)...)));
}
-# endif
// ------------------------ ThreadGroup -------------------------------------
fun_ptr, std::ref(c), internal::maybe_make_ref<Args>::act(args)...)));
}
-# ifndef DEAL_II_CONST_MEMBER_DEDUCTION_BUG
/**
* Overload of the new_task function.
*
return new_task(std::function<RT()>(std::bind(
fun_ptr, std::cref(c), internal::maybe_make_ref<Args>::act(args)...)));
}
-# endif
// ------------------------ TaskGroup -------------------------------------