Changeset 81735


Ignore:
Timestamp:
Dec 6, 2012, 12:35:21 PM (6 years ago)
Author:
timblechmann
Message:

lockfree: no capacity means capacity of 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/boost/lockfree/detail/parameter.hpp

    r79199 r81735  
    1111
    1212#include <boost/lockfree/policies.hpp>
    13 #include <boost/integer_traits.hpp>
    1413
    1514namespace boost {
     
    3433    typedef typename mpl::if_c<has_capacity,
    3534                               typename has_arg<bound_args, tag::capacity>::type,
    36                                mpl::size_t< boost::integer_traits<size_t>::const_max >
     35                               mpl::size_t< 0 >
    3736                              >::type capacity_t;
    3837
Note: See TracChangeset for help on using the changeset viewer.