copy_body Template Function

Summary

A template function that returns a copy of the body function object from a continue_node, function_node, multifunction_node, or source_node.

Syntax

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

Header

#include "tbb/flow_graph.h"
For more complete information about compiler optimizations, see our Optimization Notice.