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
!125
procedural aql
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
procedural aql
merge-jt
into
master
Overview
2
Commits
28
Pipelines
2
Changes
1
Merged
Jan Trávníček
requested to merge
merge-jt
into
master
5 years ago
Overview
2
Commits
28
Pipelines
2
Changes
1
Expand
Part one of abstraction value redesign, A huge extension of cli syntax.
0
0
Merge request reports
Viewing commit
74fbc5fa
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
74fbc5fa
Lazy value proxy abstraction returns cached value only
· 74fbc5fa
Jan Trávníček
authored
5 years ago
alib2abstraction/src/abstraction/PackingAbstraction.cpp
+
1
−
1
Options
@@ -30,7 +30,7 @@ abstraction::ParamQualifiers::ParamQualifierSet PackingAbstractionImpl::LazyValu
std
::
shared_ptr
<
abstraction
::
Value
>
PackingAbstractionImpl
::
LazyValue
::
getProxyAbstraction
(
)
{
if
(
cache
==
nullptr
)
cache
=
this
->
getLifeReference
(
)
->
eval
(
);
return
cache
->
getProxyAbstraction
(
)
;
return
cache
;
}
const
std
::
shared_ptr
<
abstraction
::
OperationAbstraction
>
&
PackingAbstractionImpl
::
LazyValue
::
getLifeReference
(
)
const
{
Loading