
12 May
2005
12 May
'05
4:40 p.m.
"me22" <me22.ca@gmail.com> wrote
// But if I try this, I get the errors template <typename fT> explicit position(typename boost::enable_if< boost::is_convertible<fT, wrapped_type>, fT>::type f) : m_data( f ) {} */
Try: template <typename fT> explicit position( fT f, typename boost::enable_if< boost::is_convertible<fT, wrapped_type>, void* >::type = 0 ) : m_data( f ) {} regards Andy Little