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
concepts
FunctionObject.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
scl/macros.h
>
4
#include <
scl/concepts/require.h
>
5
#include <
scl/concepts/Invocable.h
>
6
#include <
scl/tools/meta/type_check.h
>
7
8
namespace
scl
{
9
namespace
concepts{
16
template
<
class
F,
class
... Args>
17
struct
FunctionObject
{
18
constexpr
operator
bool()
const
{
19
return
META::is_object<F>()
20
&&
Invocable<F, Args...>
{};
21
}
22
};
23
}
24
}
scl
Global namespace of the SCL.
Definition:
alias.hpp:3
Invocable.h
macros.h
scl::concepts::Invocable
Invocable concept, a type F is invocable with Args if meta::is_invocable<F, Args...>() is true.
Definition:
Invocable.h:14
type_check.h
require.h
scl::concepts::FunctionObject
FunctionObject concept, a type F is a function object that accepts Args...
Definition:
FunctionObject.h:17
Generated by
1.8.13