Skip to main content

struct host_object::instance

Declaration

struct host_object::instance : public host_object_instance { /* full declaration omitted */ };

Description

Host objects that own their instance (i.e. not host_object <T & > nor host_object ) wrap it in a type deriving from this struct in order to pass it to the executor for (virtual) destruction from within the instruction graph.

Inherits from: host_object_instance

Member Variables

instance_type value

Member Function Overview

  • template <typename... CtorParams>
    instance(std::in_place_t, CtorParams &&... ctor_args) → explicit

Inherited from host_object_instance:

Member Functions

template <typename... CtorParams>
explicit instance(std::in_place_t,
                  CtorParams&&... ctor_args)

Template Parameters

CtorParams

Parameters

std::in_place_t
CtorParams&&... ctor_args