Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
amdis
amdis-core
Commits
ded5b72b
Commit
ded5b72b
authored
Sep 24, 2020
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
implement macro FWD() directly using static_cast instead of std::forward
parent
77862e92
Pipeline
#4881
passed with stage
in 42 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
amdis/common/TypeTraits.hpp
amdis/common/TypeTraits.hpp
+1
-1
No files found.
amdis/common/TypeTraits.hpp
View file @
ded5b72b
...
...
@@ -73,7 +73,7 @@ namespace AMDiS
/// Macro for forwarding universal references to obj
#define FWD(
obj
) st
d::forward<decltype(obj)>(obj
)
#define FWD(
...
) st
atic_cast<decltype(__VA_ARGS__)>(__VA_ARGS__
)
/// A decay version of decltype, similar to GCCs __typeof__
#define TYPEOF(...) AMDiS::remove_cvref_t<decltype(__VA_ARGS__)>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment