Celeritas
0.5.0-86+4a8eea4
|
Visit a container's element by calling "visit" on the corresponding index. More...
#include <VariantUtils.hh>
Public Types | |
Type aliases | |
using | index_type = U |
Public Member Functions | |
ContainerVisitor (T &&container) | |
Construct with a container. | |
template<class F > | |
decltype(auto) | operator() (F &&func, U const &idx) const |
Visit the functor upon the value at the given index. | |
Visit a container's element by calling "visit" on the corresponding index.
example: