VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-release
Utilities
Doxygen
dox
Common
Core
vtkAtomicTypeConcepts.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkAtomicTypeConcepts.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
16
#include <limits>
17
18
namespace
vtk
19
{
20
namespace
atomic
21
{
22
namespace
detail
23
{
24
25
template
<
bool
>
struct
CompileTimeCheck
;
26
template
<>
struct
CompileTimeCheck
<true> {};
27
28
template
<
typename
T>
struct
IntegralType
29
{
30
CompileTimeCheck<std::numeric_limits<T>::is_specialized
&&
31
std::numeric_limits<T>::is_integer &&
32
(
sizeof
(T) == 4 ||
sizeof
(T) == 8)>
c
;
33
};
34
35
}
// detail
36
}
// atomic
37
}
// vtk
38
// VTK-HeaderTest-Exclude: vtkAtomicTypeConcepts.h
vtk
Definition:
vtkAtomicTypeConcepts.h:18
vtk::atomic::detail::CompileTimeCheck
Definition:
vtkAtomicTypeConcepts.h:25
detail
Definition:
vtkAtomic.h:84
vtk::atomic::detail::IntegralType::c
CompileTimeCheck< std::numeric_limits< T >::is_specialized &&std::numeric_limits< T >::is_integer &&(sizeof(T)==4||sizeof(T)==8)> c
Definition:
vtkAtomicTypeConcepts.h:32
vtk::atomic::detail::IntegralType
Definition:
vtkAtomicTypeConcepts.h:28
Generated by
1.8.9.1