cdcontainers  0.1.1
Library of data containers and collections for C programming language.
Functions
Capacity

Functions

static size_t cdc_treap_size (struct cdc_treap *t)
 Returns the number of items in the treap. More...
 
static bool cdc_treap_empty (struct cdc_treap *t)
 Checks if the treap has no elements. More...
 

Detailed Description

Function Documentation

◆ cdc_treap_size()

static size_t cdc_treap_size ( struct cdc_treap t)
inlinestatic

Returns the number of items in the treap.

Parameters
[in]t- cdc_treap
Returns
the number of items in the treap.

◆ cdc_treap_empty()

static bool cdc_treap_empty ( struct cdc_treap t)
inlinestatic

Checks if the treap has no elements.

Parameters
[in]t- cdc_treap
Returns
true if the treap is empty, false otherwise.