Ticket #1919: boost-circular-buffer-default-constructor-patch.diff
File boost-circular-buffer-default-constructor-patch.diff, 440 bytes (added by , 14 years ago) |
---|
-
base.hpp
old new 921 921 */ 922 922 explicit circular_buffer(const allocator_type& alloc = allocator_type()) 923 923 : m_size(0), m_alloc(alloc) { 924 initialize( max_size());924 initialize(0); 925 925 } 926 926 927 927 //! Create an empty <code>circular_buffer</code> with the specified capacity.