We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51152cc commit 15fcf21Copy full SHA for 15fcf21
include/boost/signals2/detail/auto_buffer.hpp
@@ -142,7 +142,11 @@ namespace detail
142
typedef typename Allocator::size_type size_type;
143
typedef typename Allocator::difference_type difference_type;
144
typedef T* pointer;
145
+#ifdef BOOST_NO_CXX11_ALLOCATOR
146
typedef typename Allocator::pointer allocator_pointer;
147
+#else
148
+ typedef typename std::allocator_traits<Allocator>::pointer allocator_pointer;
149
+#endif
150
typedef const T* const_pointer;
151
typedef T& reference;
152
typedef const T& const_reference;
0 commit comments