Boost logo

Boost :

Subject: [boost] ptr_map_adapter::insert non const key argument
From: Gaetano Mendola (mendola_at_[hidden])
Date: 2013-06-20 07:41:34

it seems that the method:

std::pair<iterator,bool> ptr_map_adapter::insert( key_type& key, mapped_type x )

has the key argument non const? Is there a valid reason for it or it's just a mistake?

Gaetano Mendola

Boost list run by bdawes at, gregod at, cpdaniel at, john at