id summary reporter owner description type status milestone component version severity resolution keywords cc 5450 range doesn't support circular_buffer anonymous Neil Groves "The range library doesn't seem to specialise for circular_buffer. Code bellow should fix the problem. It must be placed `some where' i.e. in `circular_buffer' path. {{{ #!div style=""font-size: 100%"" Code highlighting: {{{#!cpp #include #ifdef BOOST_PRAGMA_ONCE #pragma once #endif namespace boost { // Specialized metafunctions. We must include the range.hpp header. // We must open the 'boost' namespace. template< class T > struct range_mutable_iterator< circular_buffer > { typedef typename circular_buffer::iterator type; }; template< class T > struct range_const_iterator< circular_buffer > { typedef typename circular_buffer::const_iterator type; }; template inline typename circular_buffer::iterator range_begin( circular_buffer& x ) { return x.begin(); } template inline typename circular_buffer::const_iterator range_begin( const circular_buffer& x ) { return x.begin(); } template inline typename circular_buffer::iterator range_end( circular_buffer& x ) { return x.end(); } template inline typename circular_buffer::const_iterator range_end( const circular_buffer& x ) { return x.end(); } } // namespace boost }}} }}}" Feature Requests closed To Be Determined range Boost 1.47.0 Problem worksforme