@@ -1789,53 +1789,28 @@ typedef integral_constant<bool, true> true_type;
17891789
17901790 // *********************************************
17911791 // is_trivially_constructible
1792- #if ETL_CPP11_TYPE_TRAITS_IS_TRIVIAL_SUPPORTED
17931792 template <typename T>
17941793 using is_trivially_constructible = std::is_trivially_constructible<T>;
1795- #else
1796- template <typename T>
1797- using is_trivially_constructible = etl::bool_constant<etl::is_arithmetic<T>::value || etl::is_pointer<T>::value>;
1798- #endif
17991794
18001795 // *********************************************
18011796 // is_trivially_copy_constructible
1802- #if ETL_CPP11_TYPE_TRAITS_IS_TRIVIAL_SUPPORTED
18031797 template <typename T>
18041798 using is_trivially_copy_constructible = std::is_trivially_copy_constructible<T>;
1805- #else
1806- template <typename T>
1807- using is_trivially_copy_constructible = etl::bool_constant<etl::is_arithmetic<T>::value || etl::is_pointer<T>::value>;
1808- #endif
18091799
18101800 // *********************************************
18111801 // is_trivially_destructible
1812- #if ETL_CPP11_TYPE_TRAITS_IS_TRIVIAL_SUPPORTED
18131802 template <typename T>
18141803 using is_trivially_destructible = std::is_trivially_destructible<T>;
1815- #else
1816- template <typename T>
1817- using is_trivially_destructible = etl::bool_constant<etl::is_arithmetic<T>::value || etl::is_pointer<T>::value>;
1818- #endif
18191804
18201805 // *********************************************
18211806 // is_trivially_copy_assignable
1822- #if ETL_CPP11_TYPE_TRAITS_IS_TRIVIAL_SUPPORTED
18231807 template <typename T>
18241808 using is_trivially_copy_assignable = std::is_trivially_copy_assignable<T>;
1825- #else
1826- template <typename T>
1827- using is_trivially_copy_assignable = etl::bool_constant<etl::is_arithmetic<T>::value || etl::is_pointer<T>::value>;
1828- #endif
18291809
18301810 // *********************************************
18311811 // is_trivially_copyable
1832- #if ETL_CPP11_TYPE_TRAITS_IS_TRIVIAL_SUPPORTED
18331812 template <typename T>
18341813 using is_trivially_copyable = std::is_trivially_copyable<T>;
1835- #else
1836- template <typename T>
1837- using is_trivially_copyable = etl::bool_constant<etl::is_arithmetic<T>::value || etl::is_pointer<T>::value>;
1838- #endif
18391814
18401815#elif defined(ETL_USER_DEFINED_TYPE_TRAITS)
18411816
0 commit comments