|
Celeritas 0.7.0-dev.194+develop.0df4cab59
|
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 | |
| CELER_FUNCTION | TrackerVisitor (ParamsRef const ¶ms) |
| Construct from ORANGE params. | |
| template<class F > | |
| CELER_FUNCTION 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: