3 Nov
2011
3 Nov
'11
10:06 p.m.
I'm looking to use a trait in enable_if that can distinguish between a raw pointer and any other valid iterator type, essentially the difference between iterator traits and the raw pointer specialization.
You could maybe use the following: ::boost::type_traits::ice_and< ::boost::type_traits::ice_not< ::boost::is_pointer< T >::value >::value, ::boost::has_post_increment< T >::value, ::boost::has_dereference< T >::value
::value
Frédéric