Use intrusive utilities instead of boost utilities to limit dependencies.

This commit is contained in:
Ion Gaztañaga
2014-08-02 10:13:54 +02:00
parent c8f0271ab3
commit ddafb2d4ef
4 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ class bounded_pointer
typedef void (bounded_pointer::*unspecified_bool_type)() const;
public:
typedef typename boost::remove_const< T >::type mut_val_t;
typedef typename boost::intrusive::detail::remove_const< T >::type mut_val_t;
typedef const mut_val_t const_val_t;
typedef bounded_reference<T> reference;
@@ -140,7 +140,7 @@ template < typename T >
class bounded_reference
{
public:
typedef typename boost::remove_const< T >::type mut_val_t;
typedef typename boost::intrusive::detail::remove_const< T >::type mut_val_t;
typedef const mut_val_t const_val_t;
typedef bounded_pointer< T > pointer;
static const unsigned char max_offset = pointer::max_offset;