id summary reporter owner description type status milestone component version severity resolution keywords cc 5556 Compilation error in boost::range with GCC 4.5 ru.elric@… Neil Groves "The following code: {{{ #include #include int main() { return 0; } }}} produces the following compilation error: {{{ $ g++ main.cpp In file included from boost/range/algorithm_ext.hpp:20:0, from cppmain.cpp:2: boost/range/algorithm_ext/is_sorted.hpp: In function 'bool boost::range::is_sorted(const SinglePassRange&)': boost/range/algorithm_ext/is_sorted.hpp:55:12: error: 'is_sorted' is not a member of 'boost::range::range_detail' }}} Note that changing include order makes the error go away. I believe it's due to a fact that one of the headers included by `` defines a `boost::range::range_detail` namespace, which is then looked up for `is_sorted` implementation that is not there." Bugs closed To Be Determined range Boost 1.46.1 Problem fixed