eb_root.unique

Configures this tree so that the eb*_insert functions either allow adding unique nodes only or allow adding duplicates.

This configuration can be changed at any time and affects subsequent eb*_insert function calls.

  1. bool unique()
  2. bool unique(bool enable)
    struct eb_root
    bool
    unique
    (
    bool enable
    )

Parameters

enable bool

true: only allow unique nodes; false: allow adding duplicates

Return Value

Type: bool

enable

Meta