id summary reporter owner description type status milestone component version severity resolution keywords cc 8024 Unable to create const_iterator for coroutine Nathan Ridge olli "It seems to be impossible to create a const_iterator for a coroutine. For example, the following fails to compile: {{{ #include typedef boost::coroutines::coroutine coroutine_type; void f(coroutine_type::caller_type& c) {} int main() { coroutine_type c(f); coroutine_type::const_iterator it = boost::begin(c); } }}} with the error: {{{ test.cpp: In function 'int main()': test.cpp:10:55: error: conversion from 'boost::range_iterator >::type {aka boost::coroutines::detail::coroutine_op, int, 0>::iterator}' to non-scalar type 'boost::coroutines::detail::coroutine_op, int, 0>::const_iterator' requested }}} " Bugs closed To Be Determined coroutine Boost 1.53.0 Problem fixed