id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 7815,boost/intrusive/detail/has_member_function_callable_with.hpp: inheriting from a const class,1czajnik@…,Ion Gaztañaga,"Hello, I tried to use a boost::container::vector with a Texas Instruments compiler, and I got an error pointing to line 88 of ""Invalid base class"", with Type=const std::allocator"" Here's the context: {{{ template class BOOST_PP_CAT(has_member_function_named_, BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME) { struct BaseMixin { void BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME(); }; struct Base : public Type, public BaseMixin { Base(); }; // <-- line 88 }}} The problem seems to be the constness of Type. Here's a simplified example: {{{ struct X {}; template < class T > struct Y : T { Y() {} }; int main() { Y y; } }}} The above example compiles fine with Linux gcc version 4.5.4, and MinGW 4.5.0, but fails with my TI compiler. For now, my workaround is: {{{ struct Base : public ::boost::remove_cv::type, public BaseMixin { Base(); }; // <-- line 88 }}}",Bugs,closed,To Be Determined,intrusive,Boost 1.52.0,Problem,fixed,,1czajnik@…