STYLE: Remove int from VectorContainer in comments IsotropicWavelets - #6825
Conversation
Removed the `int` template argument from the VectorContainer type aliases in comments in "IsotropicWavelets". The default index type (Identifier Type) is usually preferable for VectorContainer. The default index type does not need to be specified, when using VectorContainer in C++. Following pull request InsightSoftwareConsortium#4879 commit c103044 "STYLE: Remove VectorContainer Identifier template argument from comments"
|
dzenanz
left a comment
There was a problem hiding this comment.
Does the code work if you uncomment these declarations and comment out the std::vector?
|
Thanks for the approval!
Well, it does, because the IsotropicWavelets module is switched off by default. 😸 However, if you do switch it on, it appears that the code assumes that these containers are default-constructible. On Oct 3, 2017, Pablo (@phcerdan) wrote about this, in commit 462d5fc:
For me personally, |
Removed the
inttemplate argument from the VectorContainer type aliases in comments in "IsotropicWavelets". The default index type (Identifier Type) is usually preferable for VectorContainer. The default index type does not need to be specified, when using VectorContainer in C++.VectorContainerIdentifier template argument fromDefaultStaticMeshTraits, tests, and comments #4879 commit c103044 "STYLE: Remove VectorContainer Identifier template argument from comments"