debugger: minimal support for boost::bimap

Only shows the size.

Change-Id: Icdd50fd21abde68d7e39a0fdbc92f6156e915fe4
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-04-21 00:49:59 +02:00
parent bc01283481
commit 9a2d6eb5eb
3 changed files with 34 additions and 0 deletions

View File

@@ -206,6 +206,7 @@ void dummyStatement(...) {}
#include <boost/date_time.hpp>
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/bimap.hpp>
#endif
#if USE_EIGEN
@@ -5275,6 +5276,24 @@ namespace boost {
dummyStatement(&d1, &d2, &d3);
}
void testBoostBimap()
{
typedef boost::bimap<int, int> B;
B b;
BREAK_HERE;
// Check b <0 items> boost::B.
// Continue.
b.left.insert(B::left_value_type(1, 2));
BREAK_HERE;
// Check b <1 items> boost::B.
// Continue.
B::left_const_iterator it = b.left.begin();
int l = it->first;
int r = it->second;
// Continue.
dummyStatement(&b, &l, &r);
}
void testBoostPosixTimePtime()
{
using namespace boost;
@@ -5303,6 +5322,7 @@ namespace boost {
testBoostPosixTimeTimeDuration();
testBoostPosixTimePtime();
testBoostGregorianDate();
testBoostBimap();
}
#else