Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
SfinaeConstraint Struct Reference

Holds the source-level alias with its template arguments for a SFINAE constraint detected in a non-type template parameter. More...

#include <template_declaration.h>

Collaboration diagram for SfinaeConstraint:

Public Attributes

std::string alias_with_args

Detailed Description

Holds the source-level alias with its template arguments for a SFINAE constraint detected in a non-type template parameter.

For example, given the declaration:

template <typename T, if_integral<T> = true>

where if_integral is an alias for {std::enable_if_t<std::is_integral_v<T>, bool>}, alias_with_args is "if_integral<T>".

Definition at line 168 of file template_declaration.h.

Member Data Documentation

◆ alias_with_args

std::string SfinaeConstraint::alias_with_args

Definition at line 170 of file template_declaration.h.


The documentation for this struct was generated from the following file: