Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53676 - trunk/libs/multi_index/test
From: joaquin_at_[hidden]
Date: 2009-06-06 06:46:11


Author: joaquin
Date: 2009-06-06 06:46:10 EDT (Sat, 06 Jun 2009)
New Revision: 53676
URL: http://svn.boost.org/trac/boost/changeset/53676

Log:
added workaround for IBM XL C/C++
Text files modified:
   trunk/libs/multi_index/test/test_modifiers.cpp | 7 +++++++
   1 files changed, 7 insertions(+), 0 deletions(-)

Modified: trunk/libs/multi_index/test/test_modifiers.cpp
==============================================================================
--- trunk/libs/multi_index/test/test_modifiers.cpp (original)
+++ trunk/libs/multi_index/test/test_modifiers.cpp 2009-06-06 06:46:10 EDT (Sat, 06 Jun 2009)
@@ -67,8 +67,15 @@
   typedef multi_index_container<
     impl,
     indexed_by<
+
+#if BOOST_WORKAROUND(__IBMCPP__,BOOST_TESTED_AT(1010))
+ ordered_unique<member<impl,int,&linked_object::impl::n> >,
+ hashed_non_unique<member<impl,int,&linked_object::impl::n> >,
+#else
       ordered_unique<member<impl,int,&impl::n> >,
       hashed_non_unique<member<impl,int,&impl::n> >,
+#endif
+
       sequenced<>,
       random_access<>
>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk