|
Boost Users : |
Subject: Re: [Boost-users] MSVC Visualizers Update
From: Andy (agibson_at_[hidden])
Date: 2011-07-28 05:12:17
Hi Filip,
Thanks for your hardwork with these Visualizers.
I'm using Boost 1.39 with vs2008 and have the up to date version of the
autoexp contents you've uploaded.
I'm finding the multi-index visualizer works well as long as I only have one
index; I get a preview and a nice list of children. As soon as I add a
second index I can no longer easily see the contents of my container. Is
this expected?
Regards,
Andy
My code is below:
#include "mic_visualizer.hpp"
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/identity.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/sequenced_index.hpp>
#define BOOST_MULTI_INDEX_LIMIT_INDEXED_BY_SIZE 5
#define BOOST_MULTI_INDEX_LIMIT_TAG_SIZE 3
#define BOOST_MULTI_INDEX_LIMIT_COMPOSITE_KEY_SIZE 5
typedef boost::multi_index_container
<
int,
boost::multi_index::indexed_by
<
boost::multi_index::sequenced<>,
boost::multi_index::ordered_unique
<
boost::multi_index::identity<int>
>
>
> table_entry_set;
VISUALIZE_MULTI_INDEX_CONTAINER(table_entry_set);
int main(void)
{
table_entry_set new_set;
new_set.get<0>().insert(new_set.get<0>().begin(), 21);
new_set.get<0>().insert(new_set.get<0>().begin(), 2);
return 1;
}
-- View this message in context: http://boost.2283326.n4.nabble.com/MSVC-Visualizers-Update-tp2590626p3700846.html Sent from the Boost - Users mailing list archive at Nabble.com.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net