I want to convert std::vector<std::pair<const K, V>*> to std::vector<std::pair<const K, V>>. However, as you know due to pair<const K, V> I can't assign.
I guess there can be someway to leverage
template< class InputIt >
void assign( InputIt first, InputIt last );
to make this happen. However, I can't find a way out.
Look for advice. Thanks!!
 
    