Viskores  1.0
TypeCheck.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_cont_arg_TypeCheck_h
19 #define viskores_cont_arg_TypeCheck_h
20 
21 namespace viskores
22 {
23 namespace cont
24 {
25 namespace arg
26 {
27 
41 template <typename TypeCheckTag, typename Type>
42 struct TypeCheck
43 {
47  static constexpr bool value = false;
48 };
49 }
50 }
51 } // namespace viskores::cont::arg
52 
53 #endif //viskores_cont_arg_TypeCheck_h
viskores
Groups connected points that have the same field value.
Definition: Atomic.h:27
viskores::cont::arg::TypeCheck::value
static constexpr bool value
The static constant boolean value is set to true if the type is valid for the given check tag and fal...
Definition: TypeCheck.h:47
viskores::cont::arg::TypeCheck
Class for checking that a type matches the semantics for an argument.
Definition: TypeCheck.h:42