ViennaCL - The Vienna Computing Library
1.2.0
Main Page
Namespaces
Data Structures
Files
File List
Globals
viennacl
meta
enable_if.hpp
Go to the documentation of this file.
1
#ifndef VIENNACL_META_ENABLE_IF_HPP_
2
#define VIENNACL_META_ENABLE_IF_HPP_
3
4
/* =========================================================================
5
Copyright (c) 2010-2011, Institute for Microelectronics,
6
Institute for Analysis and Scientific Computing,
7
TU Wien.
8
9
-----------------
10
ViennaCL - The Vienna Computing Library
11
-----------------
12
13
Project Head: Karl Rupp rupp@iue.tuwien.ac.at
14
15
(A list of authors and contributors can be found in the PDF manual)
16
17
License: MIT (X11), see file LICENSE in the base directory
18
============================================================================= */
19
24
#include <string>
25
#include <fstream>
26
#include <sstream>
27
#include "
viennacl/forwards.h
"
28
29
30
#include <vector>
31
#include <map>
32
33
namespace
viennacl
34
{
36
template
<
bool
b,
class
T =
void
>
37
struct
enable_if
38
{
39
typedef
T
type
;
40
};
41
42
template
<
class
T>
43
struct
enable_if
<false, T> {};
44
45
}
//namespace viennacl
46
47
48
#endif
Generated on Wed Oct 10 2012 09:58:14 for ViennaCL - The Vienna Computing Library by
1.8.1.2