Skip to content

SgSpecialFunctionModifier::special_function_modifier_enum

Special Function Modifiers (only one value can be specified)

Synopsis

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

enum special_function_modifier_enum;

Description

Modifier information about (constructor, destructor, conversion operator (cast operator), and operator (general overloaded operators)).


Only one value can be specified (at least in C and C++)



Members

Name Description
e_unknown error value
e_default Not a special function (default)
e_none
e_constructor A constructor
e_destructor A destructor
e_conversion A conversion operator function
e_operator Any other operator function
e_uld_operator ULD operator function (operators on literals)
e_lambda_entry_point C++11 lambda support
e_last_modifier last value (upper bound on range of values, used in error checking)

Created with MrDocs