hpx/components_base/traits/component_registered_elsewhere.hpp

hpx/components_base/traits/component_registered_elsewhere.hpp#

Defined in header hpx/components_base/traits/component_registered_elsewhere.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace traits

Variables

template<typename Component>
constexpr bool component_registered_elsewhere_v = component_registered_elsewhere<Component>::value#
template<typename Component, typename Enable = void>
struct component_registered_elsewhere : public std::false_type#
#include <component_registered_elsewhere.hpp>

Evaluates to true if the component type is registered by another module than the one being compiled. A library that registers a component specializes this trait for its consumers (see HPX_COMPONENT_REGISTERED_ELSEWHERE), which turns a second registration of the component into a compile time error.