id summary reporter owner description type status milestone component version severity resolution keywords cc 8339 Iterator facade does not work for const iterator with array value type Nathan Ridge jeffrey.hellrung "The following code fails to compile: {{{ #include struct iterator : boost::iterator_facade { }; }}} (I omitted the body of the derived class, but that's irrelevant, it's not what's causing the error). The error is: {{{ In file included from test.cpp:1: In file included from boost/iterator/iterator_facade.hpp:17: boost/iterator/detail/operator_brackets_dispatch.hpp:33:12: error: function cannot return array type 'result_type' (aka 'char [4]') static result_type apply(Iterator const & i) ^ boost/iterator/iterator_facade.hpp:583:16: note: in instantiation of template class 'boost::detail::operator_brackets_value' requested here typename operator_brackets_dispatch_::result_type ^ test.cpp:3:19: note: in instantiation of template class 'boost::iterator_facade' requested here struct iterator : boost::iterator_facade' requested here struct iterator : boost::iterator_facade