Skip to content

SageBuilder::function_declaration_ownership::withTemplateRequiresClause

Make a translated template‐head requires‐clause part of a function template's overload identity before its declaration and symbol are constructed. The expression must be detached and is transferred to the newly constructed template function declaration.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

function_declaration_ownership
withTemplateRequiresClause(SgExpression* constraint) const;

Return Value

Exact, typed structural ownership established by function‐declaration builders. Invalid kind/owner combinations cannot be constructed.

Parameters

Name

Description

constraint

This class represents the notion of an expression. Expressions

Created with MrDocs