$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] How to make multi_index_container work with std::unique_ptr?
From: Jayden Shui (jayden.shui_at_[hidden])
Date: 2011-12-20 13:31:18
Hi All,
If the elements of a multi_index_container are std::unique_ptr, it doesn't
seem to work because the assignment operator of std::unique_ptr is private.
Any way to let it work? If I change unique_ptr to shared_ptr, it works. But
I need a good performance. Or is there anyway to work around to get pointer
container performance with multi index power?
Thanks a lot!
Jayden