Skip to content

sg::cloneNode

returns a deep copy of a sage node

Synopsis

Declared in <SageIII/sageInterface/sageFunctors.h>

template<class SageNode>
static
SageNode*
cloneNode(SageNode const* n);

Description

allows NULL input nodes (in contrast to SageInterface::deepCopy)

Created with MrDocs