Move the type_traits portability header into its own portability header