Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Core Modules
dune-common
Commits
af1a2159
Commit
af1a2159
authored
3 years ago
by
Santiago Ospina De Los Ríos
Browse files
Options
Downloads
Patches
Plain Diff
Detect if lambdas in unevaluated contexts are possible
parent
87b35f59
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1127
Add CMake feature test for lambdas in unevaluated context
Pipeline
#44791
passed
3 years ago
Stage: test
Stage: downstream
Pipeline: Dune Nightly Test
#44792
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/modules/CheckCXXFeatures.cmake
+2
-0
2 additions, 0 deletions
cmake/modules/CheckCXXFeatures.cmake
config.h.cmake
+3
-0
3 additions, 0 deletions
config.h.cmake
with
5 additions
and
0 deletions
cmake/modules/CheckCXXFeatures.cmake
+
2
−
0
View file @
af1a2159
...
...
@@ -208,3 +208,5 @@ check_cxx_symbol_exists(
"functional"
DUNE_HAVE_CXX_STD_IDENTITY
)
check_cxx_source_compiles
(
"using F = decltype([]{})
\;
"
DUNE_HAVE_CXX_UNEVALUATED_CONTEXT_LAMBDA
)
This diff is collapsed.
Click to expand it.
config.h.cmake
+
3
−
0
View file @
af1a2159
...
...
@@ -26,6 +26,9 @@
/* does the standard library provide experimental::is_detected ? */
#cmakedefine DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED 1
/* does the language support lambdas in unevaluated contexts ? */
#cmakedefine DUNE_HAVE_CXX_UNEVALUATED_CONTEXT_LAMBDA 1
/* does the standard library provide identity ? */
#cmakedefine DUNE_HAVE_CXX_STD_IDENTITY 1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment