The [[assume(expression)]] attribute (C++23).
Synopsis
Declared in <mrdocs/Metadata/Attribute/AssumeAttribute.hpp>
struct AssumeAttribute final
: AttributeCommonBase<AttributeKind::Assume>
Description
States that the expression always evaluates to true at this point.
Base Classes
Name |
Description |
CRTP base that ties a concrete attribute to a fixed AttributeKind. |
Static Member Functions
Name |
Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
An attribute mrdocs does not treat specially. |
|
|
Data Members
Name |
Description |
The assumed expression, as written. |
Static Data Members
Name |
Description |
Static discriminator for the concrete attribute. |
Created with MrDocs