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


Hi,
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?

Regards
Gaetano Mendola