The declared set of context kinds one content renderer reads. More...
#include <compile_context.hpp>
Public Member Functions | |
| constexpr | CompileContextSubscriptions () noexcept=default |
| Constructs an empty subscription set. | |
| constexpr CompileContextSubscriptions & | subscribe (CompileContextKind kind) noexcept |
| Adds kind to this set and returns this object for chaining. | |
| constexpr bool | reads (CompileContextKind kind) const noexcept |
| Returns whether kind is present in this set. | |
| constexpr bool | any () const noexcept |
| Returns whether this set contains any context kind. | |
| constexpr bool | operator== (const CompileContextSubscriptions &) const noexcept=default |
| Compares the complete subscribed-kind set. | |
Static Public Member Functions | |
| static constexpr CompileContextSubscriptions | none () noexcept |
| Returns an empty subscription set. | |
The declared set of context kinds one content renderer reads.
Default-constructed means "reads nothing beyond its own clip", which is what every built-in content kind declares today — so the contract cannot change the invalidation of anything that existed before it.
|
constexprdefaultnoexcept |
Constructs an empty subscription set.
|
inlineconstexprnoexcept |
Returns whether this set contains any context kind.
|
inlinestaticconstexprnoexcept |
Returns an empty subscription set.
|
constexprdefaultnoexcept |
Compares the complete subscribed-kind set.
|
inlineconstexprnoexcept |
Returns whether kind is present in this set.
|
inlineconstexprnoexcept |
Adds kind to this set and returns this object for chaining.