Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
amdis
amdis-core
Merge requests
!195
Fixed issue with pack expansion of alias template
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fixed issue with pack expansion of alias template
issue/variadic_packs_bug
into
master
Overview
0
Commits
1
Changes
1
Merged
Müller, Felix
requested to merge
issue/variadic_packs_bug
into
master
4 years ago
Overview
0
Commits
1
Changes
1
Expand
This fixes an issue with the recent MR
!189 (merged)
.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
3b265a63
1 commit,
4 years ago
1 file
+
7
−
13
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
amdis/common/Logical.hpp
+
7
−
13
Options
@@ -18,35 +18,29 @@ namespace AMDiS
// some boolean operations
// ---------------------------------------------------------------------------
namespace
Impl
{
template
<
bool
...>
struct
all_helper
{};
}
// end namespace Impl
template
<
bool
...
Bs
>
using
all_of_
t
=
bool_t
<
(
Bs
&&
...)
>
;
constexpr
bool
all_of_
v
=
(
Bs
&&
...);
template
<
bool
...
Bs
>
constexpr
bool
all_of_v
=
(
Bs
&&
...
)
;
using
all_of_t
=
bool
_t
<
all_of_v
<
Bs
...
>>
;
template
<
bool
...
Bs
>
using
and_t
=
all_of_t
<
Bs
...
>
;
template
<
bool
...
Bs
>
using
none
_of_
t
=
bool_t
<!
(
Bs
||
...)
>
;
constexpr
bool
any
_of_
v
=
(
Bs
||
...);
template
<
bool
...
Bs
>
constexpr
bool
none_of_v
=
!
(
Bs
||
...
)
;
using
any_of_t
=
bool_t
<
any_of_v
<
Bs
...
>>
;
template
<
bool
...
Bs
>
using
any_of_t
=
bool
_t
<
(
Bs
||
...
)
>
;
using
or_t
=
any_of
_t
<
Bs
...
>
;
template
<
bool
...
Bs
>
constexpr
bool
any
_of_v
=
(
Bs
||
...);
constexpr
bool
none
_of_v
=
!
(
Bs
||
...);
template
<
bool
...
Bs
>
using
or_t
=
any
_of_
t
<
Bs
...
>
;
using
none_of_t
=
bool_t
<
none
_of_
v
<
Bs
...
>
>
;
template
<
bool
...
Bs
>
Loading