id summary reporter owner description type status milestone component version severity resolution keywords cc 4638 Compile error using boost::asio::has_service() Peter Sturm chris_kohlhoff "Using the template function '''boost::asio::has_service()''' leads to compiler error ""const ... discards qualifiers"" with gcc 4.2.1 and MSVS 2008. '''Problem:''' has_service() is defined as const, but calls non const members init_key() '''Possible solution:''' make init_key() a const member. ''' Files affected:''' boost/asio/detail/service_registry.hpp boost/asio/detail/impl/service_registry.hpp boost/asio/detail/impl/service_registry.ipp " Bugs closed To Be Determined asio Boost 1.44.0 Problem fixed has_service init_key