insert overloads

Synopses

Declared in <bdlc_hashtable.h>

Insert an element with the specified key into this object.

bool
insert(
    Handle* handle,
    KEY const& key);

Insert an element with the specified key and value.

bool
insert(
    Handle* handle,
    KEY const& key,
    VALUE const& value);

Return Value

true if the element was inserted, and false otherwise

Parameters

Name

Description

handle

handle loaded with the inserted element on success

key

key of the element to insert

value

value associated with key

Created with MrDocs