|
Celeritas 0.7.0-dev.245+develop.a7be925e
|
Apply a functor to a universe tracker of unknown type. More...
#include <TrackerVisitor.hh>
Public Types | |
Type aliases | |
| using | ParamsRef = NativeCRef< OrangeParamsData > |
Public Member Functions | |
| TrackerVisitor (ParamsRef const ¶ms) | |
| Construct from ORANGE params. | |
| template<class F > | |
| decltype(auto) | operator() (F &&func, UnivId id) |
Apply a functor to a universe tracker of unknown type.
An instance of this class is like std::visit but accepting a UnivId rather than a std::variant .
Example: