|
[Rivet] Dangerous casting to FinalStateDavid Bjergaard david.bjergaard at gmail.comTue Jul 14 19:24:17 BST 2015
Hi David, I think (Andy can clarify) he means Abstract Base Class for which you require at least one pure virtual method. Cheers, Dave David Grellscheid <david.grellscheid at durham.ac.uk> writes: >> For the following major release, it'd be good to solve this more >> completely. FinalStates are the only significant subset of projections >> which can have this problem, because FinalState itself is not virtual. > > I don't understand what you mean here. Classes cannot be virtual / > non-virtual, only methods can. A method is virtual if it has been > marked so anywhere up the inheritance tree, it's not necessary to > re-mark it as virtual in each child class. > > David > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > https://www.hepforge.org/lists/listinfo/rivet
More information about the Rivet mailing list |