Loading src/TNL/Containers/Expressions/TypeTraits.h +0 −3 Original line number Diff line number Diff line Loading @@ -92,9 +92,6 @@ using EnableIfDistributedBinaryExpression_t = std::enable_if_t< // helper trait class for recursively turning expression template classes into compatible vectors template<class T, class R = void> struct enable_if_type { typedef R type; }; template< typename R, typename Enable = void > struct RemoveExpressionTemplate { Loading src/TNL/Meshes/DistributedMeshes/DistributedMeshSynchronizer.h +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ struct HasMeshType {}; template< typename T > struct HasMeshType< T, typename Containers::Expressions::enable_if_type< typename T::MeshType >::type > struct HasMeshType< T, typename enable_if_type< typename T::MeshType >::type > : public std::true_type {}; Loading src/TNL/Meshes/Writers/VerticesPerEntity.h +1 −8 Original line number Diff line number Diff line Loading @@ -12,8 +12,7 @@ #pragma once #include <type_traits> #include <TNL/TypeTraits.h> #include <TNL/Meshes/MeshEntity.h> namespace TNL { Loading @@ -22,12 +21,6 @@ namespace Writers { namespace details { template< typename T, typename R = void > struct enable_if_type { using type = R; }; template< typename T, typename Enable = void > struct has_entity_topology : std::false_type {}; Loading src/TNL/TypeTraits.h +6 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,12 @@ namespace TNL { template< typename T, typename R = void > struct enable_if_type { using type = R; }; /** * \brief Type trait for checking if T has getArrayData method. */ Loading Loading
src/TNL/Containers/Expressions/TypeTraits.h +0 −3 Original line number Diff line number Diff line Loading @@ -92,9 +92,6 @@ using EnableIfDistributedBinaryExpression_t = std::enable_if_t< // helper trait class for recursively turning expression template classes into compatible vectors template<class T, class R = void> struct enable_if_type { typedef R type; }; template< typename R, typename Enable = void > struct RemoveExpressionTemplate { Loading
src/TNL/Meshes/DistributedMeshes/DistributedMeshSynchronizer.h +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ struct HasMeshType {}; template< typename T > struct HasMeshType< T, typename Containers::Expressions::enable_if_type< typename T::MeshType >::type > struct HasMeshType< T, typename enable_if_type< typename T::MeshType >::type > : public std::true_type {}; Loading
src/TNL/Meshes/Writers/VerticesPerEntity.h +1 −8 Original line number Diff line number Diff line Loading @@ -12,8 +12,7 @@ #pragma once #include <type_traits> #include <TNL/TypeTraits.h> #include <TNL/Meshes/MeshEntity.h> namespace TNL { Loading @@ -22,12 +21,6 @@ namespace Writers { namespace details { template< typename T, typename R = void > struct enable_if_type { using type = R; }; template< typename T, typename Enable = void > struct has_entity_topology : std::false_type {}; Loading
src/TNL/TypeTraits.h +6 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,12 @@ namespace TNL { template< typename T, typename R = void > struct enable_if_type { using type = R; }; /** * \brief Type trait for checking if T has getArrayData method. */ Loading