documented new C++ support
This commit is contained in:
parent
85ae439bb8
commit
dbe71c715e
8 changed files with 185 additions and 29 deletions
|
|
@ -12,7 +12,7 @@
|
|||
## by Adam Langley.
|
||||
|
||||
type
|
||||
NodeObj[T] = object {.pure, final, acyclic.}
|
||||
NodeObj[T] = object {.acyclic.}
|
||||
byte: int ## byte index of the difference
|
||||
otherbits: char
|
||||
case isLeaf: bool
|
||||
|
|
@ -23,11 +23,10 @@ type
|
|||
val: T
|
||||
|
||||
Node[T] = ref NodeObj[T]
|
||||
CritBitTree*[T] = object {.
|
||||
pure, final.} ## The crit bit tree can either be used
|
||||
## as a mapping from strings to
|
||||
## some type ``T`` or as a set of
|
||||
## strings if ``T`` is void.
|
||||
CritBitTree*[T] = object ## The crit bit tree can either be used
|
||||
## as a mapping from strings to
|
||||
## some type ``T`` or as a set of
|
||||
## strings if ``T`` is void.
|
||||
root: Node[T]
|
||||
count: int
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue