Skip to content
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

Add ReplacePlaceholders #451

Merged
merged 1 commit into from
Dec 22, 2021

Conversation

bernhardmgruber
Copy link
Member

This is a Mp11 based meta function that replaces placeholders inside a template instantiation.

E.g. llama::ReplacePlaceholders<mp_list<mp_list<_2, _1>, _2, mp_list<_2, mp_list<_3>>>, A, B, C> is an alias to mp_list<mp_list<B, A>, B, mp_list<B, mp_list<C>>>>.

@codecov
Copy link

codecov bot commented Dec 22, 2021

Codecov Report

Merging #451 (af0f95c) into develop (06c7f42) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #451   +/-   ##
========================================
  Coverage    99.21%   99.21%           
========================================
  Files           58       59    +1     
  Lines         5198     5233   +35     
========================================
+ Hits          5157     5192   +35     
  Misses          41       41           
Impacted Files Coverage Δ
tests/meta.cpp 100.00% <100.00%> (ø)
tests/core.cpp 100.00% <0.00%> (ø)
include/llama/Core.hpp 94.59% <0.00%> (+2.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 06c7f42...af0f95c. Read the comment docs.

@bernhardmgruber bernhardmgruber merged commit b2374e9 into alpaka-group:develop Dec 22, 2021
@bernhardmgruber bernhardmgruber deleted the placeholder branch December 22, 2021 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant