Viskores
1.0
viskores
internal
DecayHelpers.h
Go to the documentation of this file.
1
//============================================================================
2
// The contents of this file are covered by the Viskores license. See
3
// LICENSE.txt for details.
4
//
5
// By contributing to this file, all contributors agree to the Developer
6
// Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7
//============================================================================
8
9
//============================================================================
10
// Copyright (c) Kitware, Inc.
11
// All rights reserved.
12
// See LICENSE.txt for details.
13
//
14
// This software is distributed WITHOUT ANY WARRANTY; without even
15
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16
// PURPOSE. See the above copyright notice for more information.
17
//============================================================================
18
#ifndef viskores_worklet_internal_DecayHelpers_h
19
#define viskores_worklet_internal_DecayHelpers_h
20
21
#include <type_traits>
22
23
namespace
viskores
24
{
25
namespace
internal
26
{
27
28
template
<
typename
T>
29
using
remove_pointer_and_decay =
typename
std::remove_pointer<typename std::decay<T>::type>::type;
30
31
template
<
typename
T>
32
using
remove_cvref =
typename
std::remove_cv<typename std::remove_reference<T>::type>::type;
33
}
34
}
// namespace viskores::internal
35
#endif
viskores
Groups connected points that have the same field value.
Definition:
Atomic.h:27
Generated by
1.8.17