-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check variadic pattern arguments at compile time #356
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
d7dd350
Extend compile-time argument checking in PatternArguments (now allows…
devreal 1848471
Introduce DASH_ASSERT_ALWAYS and always assert pattern correctness
devreal 59769a3
Check for upper bounds in PatternArguments
devreal 782ddbf
Fix comments from Daniel
devreal 1b03058
Fix naming and creation of TeamSpec in PatternArguments
devreal 2fe333c
Avoid overwriting TeamSpec in PatternArguments
devreal be33b8d
Merge branch 'development' into dash-patternargs-comptime
fuchsto dfe32d8
Make typedefs private and fix template arguments in PatternArguments
devreal 471bb0e
Merge branch 'development' into dash-patternargs-comptime
fuchsto 3583d18
Merge branch 'development' into dash-patternargs-comptime
fuchsto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is possible to return without
_team
set, how about:I'm not sure about the use cases of this constructor,
so perhaps it is also fine to return without a team.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
dash::Team::All
is used by default if no team has been set, seeteam()
. The assumption here is that it only makes sense to overwrite the defaultTeamSpec
if a team was set. However, I realized that I am not sure about the relation betweenDistSpec
andTeamSpec
and whether we have to create the latter if the former was explicitely given bu the user. Is it even valid to specify both at the same time? @fuchsto can you shed some light?