$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] question on multi_index_container
From: John M. Dlugosz (mpbecey7gu_at_[hidden])
Date: 2012-10-31 12:47:03
I created a multi_index_container in a way to emulate and enhance a std::set. That is,
ordered_unique on some key extraction I specified.
Like a std::set, inserting a "duplicate" will not do the assignment at all and the old
value remains. However, what I want is for the new item to replace the old with the same
key.
Is there an easy or straightforward way to configure multi_index_container to do this?