# 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"

Parent topic: Flow Graph

## See Also

continue_node Template Class
function_node Template Class
multifunction_node Template Class
source_node Template Class