Rivet
1.8.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
include
Rivet
Tools
TypeTraits.hh
1
// -*- C++ -*-
2
#ifndef RIVET_TypeTraits_HH
3
#define RIVET_TypeTraits_HH
4
5
namespace
Rivet {
6
13
15
16
struct
RefType { };
17
18
struct
PtrType { };
19
20
template
<
typename
T>
21
struct
TypeTraits;
22
23
template
<
typename
U>
24
struct
TypeTraits<const U&> {
25
typedef
RefType ArgType;
26
};
27
28
template
<
typename
U>
29
struct
TypeTraits<const U*> {
30
typedef
PtrType ArgType;
31
};
32
34
35
}
36
37
#endif
Generated on Sun Mar 16 2014 12:20:03 for Rivet by
1.8.1.2