copy_body

copy_body#

[flow_graph.copy_body]

copy_body is a function template that returns a copy of the body function object from the following nodes:

namespace oneapi {
namespace tbb {
namespace flow {

    // Defined in header <oneapi/tbb/flow_graph.h>

    template< typename Body, typename Node >
    Body copy_body( Node &n );

} // namespace flow
} // namespace tbb
} // namespace oneapi