Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76225 - trunk/boost/container/allocator
From: igaztanaga_at_[hidden]
Date: 2011-12-30 04:03:26


Author: igaztanaga
Date: 2011-12-30 04:03:25 EST (Fri, 30 Dec 2011)
New Revision: 76225
URL: http://svn.boost.org/trac/boost/changeset/76225

Log:
Code simplification to support gcc-3.4 & gcc-4.0
Text files modified:
   trunk/boost/container/allocator/allocator_traits.hpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/boost/container/allocator/allocator_traits.hpp
==============================================================================
--- trunk/boost/container/allocator/allocator_traits.hpp (original)
+++ trunk/boost/container/allocator/allocator_traits.hpp 2011-12-30 04:03:25 EST (Fri, 30 Dec 2011)
@@ -118,9 +118,9 @@
          pointer, value_type*)
             pointer;
       //const_pointer
- typedef BOOST_INTRUSIVE_OBTAIN_TYPE_WITH_DEFAULT(boost::container::container_detail::, Alloc,
+ typedef BOOST_INTRUSIVE_OBTAIN_TYPE_WITH_EVAL_DEFAULT(boost::container::container_detail::, Alloc,
          const_pointer, typename boost::intrusive::pointer_traits<pointer>::template
- rebind_pointer<const value_type>::type)
+ rebind_pointer<const value_type>)
                const_pointer;
       //reference
       typedef BOOST_INTRUSIVE_OBTAIN_TYPE_WITH_DEFAULT(boost::container::container_detail::, Alloc,
@@ -131,14 +131,14 @@
          const_reference, const value_type&)
                const_reference;
       //void_pointer
- typedef BOOST_INTRUSIVE_OBTAIN_TYPE_WITH_DEFAULT(boost::container::container_detail::, Alloc,
+ typedef BOOST_INTRUSIVE_OBTAIN_TYPE_WITH_EVAL_DEFAULT(boost::container::container_detail::, Alloc,
          void_pointer, typename boost::intrusive::pointer_traits<pointer>::template
- rebind_pointer<void>::type)
+ rebind_pointer<void>)
                void_pointer;
       //const_void_pointer
- typedef BOOST_INTRUSIVE_OBTAIN_TYPE_WITH_DEFAULT(boost::container::container_detail::, Alloc,
+ typedef BOOST_INTRUSIVE_OBTAIN_TYPE_WITH_EVAL_DEFAULT(boost::container::container_detail::, Alloc,
          const_void_pointer, typename boost::intrusive::pointer_traits<pointer>::template
- rebind_pointer<const void>::type)
+ rebind_pointer<const void>)
                const_void_pointer;
       //difference_type
       typedef BOOST_INTRUSIVE_OBTAIN_TYPE_WITH_DEFAULT(boost::container::container_detail::, Alloc,


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