preCICE
v3.2.0
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
h
i
m
n
p
r
s
t
Typedefs
b
d
e
g
l
m
p
r
s
t
u
v
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
i
k
m
n
o
p
r
s
t
v
w
Enumerations
Enumerator
c
d
e
i
l
m
n
o
r
s
u
v
w
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
g
i
j
m
n
o
p
r
s
t
v
Functions
a
b
c
g
m
p
r
s
t
v
Variables
Typedefs
Macros
b
d
m
n
p
t
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
src
utils
traits.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
type_traits
>
4
5
namespace
precice
{
6
namespace
utils {
7
8
// Implementation of C++17 std::conjunction taken from https://en.cppreference.com/w/cpp/types/conjunction
9
template
<
class
...>
10
struct
conjunction
:
std::true_type
{
11
};
10
struct
conjunction
:
std::true_type
{
…
};
12
13
template
<
class
B1>
14
struct
conjunction<B1>
: B1 {
15
};
14
struct
conjunction<B1>
: B1 {
…
};
16
17
template
<
class
B1,
class
... Bn>
18
struct
conjunction
<B1, Bn...>
19
:
std::conditional
<bool(B1::value), conjunction<Bn...>, B1>::type {
20
};
18
struct
conjunction
<B1, Bn...> {
…
};
21
22
template
<
class
F,
class
... Inputs>
23
struct
type_transform
{
24
};
23
struct
type_transform
{
…
};
25
26
template
<
class
P,
class
A1,
class
... A>
27
struct
transform
;
28
29
}
// namespace utils
30
}
// namespace precice
std::conditional
std::true_type
precice
Main namespace of the precice library.
Definition
Acceleration.cpp:5
precice::utils::conjunction
Definition
traits.hpp:10
precice::utils::transform
Definition
traits.hpp:27
precice::utils::type_transform
Definition
traits.hpp:23
type_traits