std1.0.0-beta-7 SafeC docs

std :: collections::btree

Struct std::BTreeNode

#include <std/collections/btree.h> source

generic<V> struct BTreeNode {
    unsigned long keys[BTREE_MAX_KEYS];
    V vals[BTREE_MAX_KEYS];
    unsigned long children[BTREE_MAX_CHILD];
    int n;
    int leaf;
}

Fields

§unsigned long keys[BTREE_MAX_KEYS]source
§unsigned long children[BTREE_MAX_CHILD]source

pool index + 1 (0 = none)

number of keys

§int leafsource

1 if leaf node