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

939 de-template BaseElmProxy over ColT #983

Merged
merged 1 commit into from
Aug 17, 2020

Conversation

cz4rs
Copy link
Contributor

@cz4rs cz4rs commented Aug 12, 2020

Fixes #939

@codecov
Copy link

codecov bot commented Aug 12, 2020

Codecov Report

Merging #983 into develop will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #983   +/-   ##
========================================
  Coverage    77.35%   77.35%           
========================================
  Files          656      656           
  Lines        25104    25104           
========================================
  Hits         19418    19418           
  Misses        5686     5686           
Impacted Files Coverage Δ
.../vt/vrt/collection/proxy_traits/proxy_elm_traits.h 100.00% <ø> (ø)
src/vt/vrt/proxy/base_collection_elm_proxy.h 100.00% <ø> (ø)
src/vt/vrt/proxy/collection_elm_proxy.h 100.00% <ø> (ø)
src/vt/vrt/proxy/base_collection_elm_proxy.impl.h 100.00% <100.00%> (ø)
src/vt/vrt/proxy/base_elm_proxy.h 100.00% <100.00%> (ø)
src/vt/vrt/proxy/collection_proxy.impl.h 100.00% <100.00%> (ø)

@@ -58,7 +58,7 @@ namespace vt { namespace vrt { namespace collection {
template <typename ColT, typename IndexT>
CollectionUntypedProxy::ElmProxyType<ColT, IndexT>
CollectionUntypedProxy::index(IndexT const& idx) const {
return ElmProxyType<ColT, IndexT>{proxy_,BaseElmProxy<ColT,IndexT>{idx}};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can ColT also be removed from ElmProxyType?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quite possibly, but let's integrate this in small steps, so that we don't generate merge conflicts all over the place with a long-lived, sprawling PR

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check into the specific possibility (i.e. looking for uses of the template parameter) and open an issue if you believe it to be feasible.

@lifflander
Copy link
Collaborator

@cz4rs I think this is ready to merge after you rebase!

@lifflander lifflander force-pushed the 939-de-template-base-elm-proxy branch from 159fadb to 3a12cb8 Compare August 17, 2020 03:52
@lifflander lifflander merged commit 69ac740 into develop Aug 17, 2020
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.

De-template BaseElmProxy over ColT
4 participants