Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Algorithms Library Toolkit Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Algorithms Library Toolkit
Algorithms Library Toolkit Core
Merge requests
!87
Merge jt
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Merge jt
merge-jt
into
master
Overview
2
Commits
6
Pipelines
1
Changes
21
Merged
Jan Trávníček
requested to merge
merge-jt
into
master
5 years ago
Overview
2
Commits
6
Pipelines
1
Changes
21
Expand
Some algorithms shortenings and fixes of some clang-tidy and cppcheck warnings
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
c1aefe9b
6 commits,
5 years ago
21 files
+
98
−
109
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
21
Search (e.g. *.vue) (Ctrl+P)
alib2abstraction/src/abstraction/AnyaryOperationAbstraction.hpp
+
4
−
4
Options
@@ -52,11 +52,11 @@ public:
}
virtual
bool
inputsAttached
(
)
const
override
{
for
(
const
std
::
pair
<
std
::
shared_ptr
<
OperationAbstraction
>
,
bool
>
&
param
:
m_params
)
if
(
!
(
bool
)
param
.
first
)
return
false
;
auto
attached_lambda
=
[
]
(
const
std
::
pair
<
std
::
shared_ptr
<
OperationAbstraction
>
,
bool
>
&
param
)
{
return
(
bool
)
param
.
first
;
}
;
return
true
;
return
std
::
all_of
(
m_params
.
begin
(
),
m_params
.
end
(
),
attached_lambda
)
;
}
virtual
bool
eval
(
)
override
{
Loading