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
defines_scl_to_string.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
scl/tools/meta/void_t.h
>
4
#include <
scl/tools/meta/type_mod.h
>
5
#include <
scl/utils/toString.h
>
6
7
namespace
scl
{
8
namespace
tools{
9
namespace
meta{
10
namespace
details{
11
template
<
class
T,
class
=
void
>
12
struct
__toStringDefined
: std::false_type{
13
};
14
15
template
<
class
T>
16
struct
__toStringDefined
<T,
void_t
<
scl
::
utils::ToString
<T>>> : std::true_type{
17
};
18
}
19
25
template
<
class
T>
26
inline
constexpr
bool
defines_scl_to_string
(){
27
return
details::__toStringDefined<T>::value
;
28
}
29
}
30
}
31
}
scl::tools::meta::void_t
void void_t
The must have.
Definition:
void_t.h:10
scl
Global namespace of the SCL.
Definition:
alias.hpp:3
scl::utils::ToString
Definition:
toString.h:21
type_mod.h
scl::tools::meta::details::__toStringDefined
Definition:
defines_scl_to_string.h:12
toString.h
scl::tools::meta::defines_scl_to_string
constexpr bool defines_scl_to_string()
Determines whether or not ToString has been specialized for the given type.
Definition:
defines_scl_to_string.h:26
void_t.h
Generated by
1.8.13