Document bit fields usage (#11011)

This commit is contained in:
Federico Ceratto 2019-05-04 22:31:05 +01:00 • committed by Andreas Rumpf
commit 90a7460d91
2 changed files with 35 additions and 3 deletions

View file

@ -1126,6 +1126,7 @@ as ``MyEnum.value``:
echo amb # Error: Unclear whether it's MyEnum.amb or OtherEnum.amb
echo MyEnum.amb # OK.
To implement bit fields with enums see `Bit fields <#set-type-bit-fields>`_
String type
-----------