TTI's has_type has been changed to MPL's has_xxx for checking iterator