VTK-m  2.0
DecayHelpers.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_worklet_internal_DecayHelpers_h
11 #define vtk_m_worklet_internal_DecayHelpers_h
12 
13 #include <type_traits>
14 
15 namespace vtkm
16 {
17 namespace internal
18 {
19 
20 template <typename T>
21 using remove_pointer_and_decay = typename std::remove_pointer<typename std::decay<T>::type>::type;
22 
23 template <typename T>
24 using remove_cvref = typename std::remove_cv<typename std::remove_reference<T>::type>::type;
25 }
26 } // namespace vtkm::internal
27 #endif
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19