Skip to content

operator+

All overloads of operator+

Addition operator

Synopsis

Declared in <src/frontend/SageIII/Cxx_Grammar.h> (not stored in Git)

[[visibility("default")]]
SgName
operator+(
    SgName const& n1,
    SgName const& n2);

Note

This function is a hidden friend of SgName, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

String-backed name value used by AST nodes.

Parameters

Name Description
n1 The left operand
n2 The right operand

Created with MrDocs