Skip to content

mpv::bmap::insert

paulusmas edited this page Jul 30, 2016 · 1 revision

mpv::bmap::insert

std::pair<iterator,bool> insert(const key_type& key, const value_type& value);

Inserts element into the container, if the container doesn't already contain an element with an equivalent key and value.

Example

...
mpv::bmap<int,double> bm_dif; 
bm_dif.insert(10,20.4);
...

Clone this wiki locally