Berkeley DB Reference Version 5.3.33

Dbstl container specific notes

db_vector specific notes

Associative container specific notes

db_vector specific notes

Associative container specific notes

db_map contains the union of method set from std::map and hash_map, but there are some methods that can only be called on containers backed by DB_BTREE or DB_HASH databases. You can call db_map<>::is_hash() to figure out the type of the backing database. If you call unsupported methods then an InvalidFunctionCall exception is thrown.

These are the DB_BTREE specific methods: upper_bound(), lower_bound(), key_comp(), and value_comp(). The DB_HASH specific methods are key_eq(), hash_funct().