|
Fcitx
|
Optional Constrain that applies the constrain only when the value is not std::nullopt. More...
#include <fcitx-config/option.h>
Public Types | |
| using | ElementType = typename SubConstrain::Type |
| using | Type = std::optional< ElementType > |
Public Member Functions | |
| OptionalConstrain (SubConstrain sub=SubConstrain()) | |
| bool | check (const Type &value) |
| void | dumpDescription (RawConfig &config) const |
Optional Constrain that applies the constrain only when the value is not std::nullopt.
1.8.13