The second instance is a partial specialization of the template class, it is valid C ++ and should not lead to an override error.
metrowerks , , , . , ... (1)
, , ...
( , / metrowerks )
typedef boost::function< void () > MyThreadFunction;
template <>
struct thread::thread_data<boost::reference_wrapper< MyThreadFunction > >:
detail::thread_data_base
{
....
};
(1) , , , .