hpx::is_placeholder
hpx::is_placeholder#
Defined in header hpx/functional.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace hpx
Top level namespace.
-
template<typename T>
struct is_placeholder# - #include <is_placeholder.hpp>
If
T
is a standard, Boost, or HPX placeholder (_1, _2, _3, …) then this template is derived fromstd::integral_constant<int,1>
,std::integral_constant<int,2>
,std::integral_constant<int,3>
, respectively. Otherwise, it is derived fromstd::integral_constant<int,0>
.The template may be specialized for any user-defined
T
type: the specialization must satisfy UnaryTypeTrait with base characteristic ofstd::integral_constant<int,N>
with N>0 to indicate thatT
should be treated as N’th placeholder type.hpx::bind
useshpx::is_placeholder
to detect placeholders for unbound arguments.
-
namespace traits
Functions
- template<typename T> HPX_DEPRECATED_V (1, 8, "hpx::traits::is_placeholder_v is deprecated, use " "hpx::is_placeholder_v instead") inline const expr bool is_placeholder_v
-
template<typename T>