Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Li-Ta Lo
VTK-m
Commits
29ebacd3
Commit
29ebacd3
authored
Dec 06, 2021
by
Li-Ta Lo
Browse files
minor refine on the name lookup rule
parent
75b3f816
Pipeline
#259009
waiting for manual action with stages
in 33 minutes and 16 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
vtkm/filter/NewFilter.h
View file @
29ebacd3
...
@@ -231,10 +231,9 @@ namespace filter
...
@@ -231,10 +231,9 @@ namespace filter
/// `DetermineNumberOfThreads()` to provide implementation specific heuristic.
/// `DetermineNumberOfThreads()` to provide implementation specific heuristic.
///
///
/// \subsection FilterNameLookup Overriding Overloaded Functions
/// \subsection FilterNameLookup Overriding Overloaded Functions
/// The rule of name lookup for inherited, overloaded functions dictates us to either override
/// Since we have two overloads of `Execute`, we need to work with C++'s rule for name lookup for
/// none of the overloads or all of them. Since we have two overloads of `Execute`, implementation
/// inherited, overloaded functions when overriding them. In most uses cases, we intend to only
/// of a NewFilter subclass needs to override both of them. In most uses cases, we intend to only
/// override the `Execute(DataSet&)` overload in an implementation of a NewFilter subclass, such as
/// override the `Execute(DataSet&)` overload, such as
///
///
/// \code{cpp}
/// \code{cpp}
/// class FooFilter : public NewFilter
/// class FooFilter : public NewFilter
...
...
Write
Preview
Supports
Markdown
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