Support Class Library
A set of tools providing classes and utility
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Functions
_
a
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
w
Variables
+
Typedefs
a
c
d
e
f
h
i
l
m
n
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Typedefs
a
c
d
e
f
g
i
k
l
m
n
o
p
q
r
s
t
v
Related Functions
+
Files
File List
+
File Members
+
All
a
c
d
m
o
r
s
t
v
Functions
+
Macros
a
c
d
m
r
s
t
v
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
include
scl
tools
meta
is_instance.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <type_traits>
4
5
namespace
scl
{
6
namespace
tools{
7
namespace
meta{
8
namespace
details{
9
template
<
template
<
class
,
class
...>
class
,
class
...>
10
struct
__is_instance
: std::false_type{};
11
12
template
<
template
<
class
,
class
...>
class
U,
class
... T>
13
struct
__is_instance
<U, U<T...>> : std::true_type{};
14
}
15
22
template
<
template
<
class
,
class
...>
class
U,
class
... T>
23
inline
constexpr
bool
is_instance
(){
24
return
details::__is_instance
<U, T...>::value;
25
}
26
}
27
}
28
}
scl
Global namespace of the SCL.
Definition:
alias.hpp:3
scl::tools::meta::details::__is_instance
Definition:
is_instance.h:10
scl::tools::meta::is_instance
constexpr bool is_instance()
Determines whether a template type is an "instance" of a templated type.
Definition:
is_instance.h:23
Generated by
1.8.13