diff --git a/include/boost/move/detail/meta_utils_core.hpp b/include/boost/move/detail/meta_utils_core.hpp index 23721fb..018fe5b 100644 --- a/include/boost/move/detail/meta_utils_core.hpp +++ b/include/boost/move/detail/meta_utils_core.hpp @@ -42,10 +42,8 @@ struct if_c // if_ ////////////////////////////////////// template -struct if_ -{ - typedef typename if_c<0 != T1::value, T2, T3>::type type; -}; +struct if_ : if_c<0 != T1::value, T2, T3> +{}; //enable_if_ template @@ -64,13 +62,13 @@ struct enable_if_c {}; // enable_if ////////////////////////////////////// template -struct enable_if : public enable_if_c {}; +struct enable_if : enable_if_c {}; ////////////////////////////////////// // disable_if ////////////////////////////////////// template -struct disable_if : public enable_if_c {}; +struct disable_if : enable_if_c {}; ////////////////////////////////////// // integral_constant