multi-index
How to move an element without removing and re-inserting it into a boost::multi_index_container?
I\'m using a boost::multi_index_container to provide a random access and a hash-based access to a collection of elements. I wanted to change the random access index of an element, without changing the[详细]
2023-03-18 01:45 分类:问答Multimap and shared_ptr
I want to sort my objects in boost::multi_map refer to some index. But I\'m开发者_JS百科 storing not pure objects, but wrapped into boost::shared_ptr. Here is the code:[详细]
2023-02-23 02:40 分类:问答Are boost multi_index extracted keys cached?
I am using boost::multi_index with a data type I\'d like to index based on its size. However, the s开发者_如何学Pythonize() member function of this data type is expensive to execute. Does multi_index[详细]
2023-02-15 18:45 分类:问答Need to speed up C++ code involving Boost multi-index and lookups to unordered_multimap
I\'m looking for strategies to speed up an agent-based model that\'s based on objects of class Host, pointers to which are stored in a Boost multi-index container. I\'ve used Shark to determine that t[详细]
2023-02-06 18:06 分类:问答how boost multi_index is implemented
I have some difficulties understanding how Boost.MultiIndex is implemented. Lets say I have the following:[详细]
2023-01-26 02:27 分类:问答Multi-index container for ruby
Is there anything like boost::multi_index but for ruby. Basically taking some container of objects and having it indexed N different ways with N 开发者_如何学编程different query methods.[详细]
2023-01-14 20:06 分类:问答What's the point of boost::multi_index_container::index<Tag>::type?
If you have a boost::multi_index_container< > with multiple indices, there are obviously multiple ways to iterate over it - each index defines a way. For instance, if you have an index with tag[详细]
2023-01-13 19:36 分类:问答Boost Multi_Index Question
Sorry I can\'t be more specific in the title. Let\'s say I have a class Foo class Foo { public: Foo() { m_bitset.reset(); }[详细]
2023-01-11 09:26 分类:问答C++ Boost multi-index type identification
In boost multi-index, can I verify w开发者_开发问答hether a particular index type is ordered/not through meta programming?[详细]
2023-01-10 01:27 分类:问答Multi-Index Insert Failure Return (Boost)
I\'m currently using Boost\'s multi-index to help keep track of how many times a packet passes through a system.[详细]
2023-01-04 18:13 分类:问答