RosettaCodeData/Task/Variable-size-Set/Nim/variable-size-set-1.nim

4 lines
57 B
Nim

type
MyBitfield = object
flag {.bitsize:1.}: cuint