Skip to content

sg::asBaseType

returns the same node n upcasted to its base type

Synopsis

Declared in <SageIII/sageInterface/sageGeneric.h>

template<class SageNode>
SageNode::base_node_type&
asBaseType(SageNode& n);

Description

Note

useful for calling an overloaded function {

Created with MrDocs