class Requirement

Declaration

class Requirement { /* full declaration omitted */ };

Description

A static requirement that can be used in a requires-expression to check properties of types and expression.

Declared at: clang/include/clang/AST/ExprConcepts.h:151

Member Variables

private const clang::concepts::Requirement:: RequirementKind Kind
private bool Dependent
private bool ContainsUnexpandedParameterPack
private bool Satisfied

Method Overview

Methods

Requirement(
    clang::concepts::Requirement::RequirementKind
        Kind,
    bool IsDependent,
    bool ContainsUnexpandedParameterPack,
    bool IsSatisfied = true)

Declared at: clang/include/clang/AST/ExprConcepts.h:172

Parameters

clang::concepts::Requirement::RequirementKind Kind
bool IsDependent
bool ContainsUnexpandedParameterPack
bool IsSatisfied = true

bool containsUnexpandedParameterPack() const

Declared at: clang/include/clang/AST/ExprConcepts.h:198

clang::concepts::Requirement::RequirementKind
getKind() const

Declared at: clang/include/clang/AST/ExprConcepts.h:178

bool isDependent() const

Declared at: clang/include/clang/AST/ExprConcepts.h:193

bool isSatisfied() const

Declared at: clang/include/clang/AST/ExprConcepts.h:180

void setContainsUnexpandedParameterPack(
    bool Contains)

Declared at: clang/include/clang/AST/ExprConcepts.h:195

Parameters

bool Contains

void setDependent(bool IsDependent)

Declared at: clang/include/clang/AST/ExprConcepts.h:192

Parameters

bool IsDependent

void setSatisfied(bool IsSatisfied)

Declared at: clang/include/clang/AST/ExprConcepts.h:186

Parameters

bool IsSatisfied