cgv
is_abstract.h
1
#pragma once
2
3
#if !defined(_MSC_VER) || (_MSC_VER < 1400)
4
#include <tr1/type_traits>
5
#endif
6
7
namespace
cgv
{
8
namespace
type {
9
namespace
cond {
10
12
template
<
typename
T>
13
struct
is_abstract
14
{
15
static
const
bool
value =
16
#if _MSC_VER >= 1400
17
__is_abstract(T);
18
#else
19
std::tr1::is_abstract<T>::value;
20
#endif
21
};
22
23
}
24
}
25
}
cgv::type::cond::is_abstract
template condition returning, whether the first argument is a base class of the second argument
Definition:
is_abstract.h:14
cgv
the cgv namespace
Definition:
vr_calib.cxx:9
projects
git
cgv
cgv
type
cond
is_abstract.h
Generated by
1.8.18