ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
visit_try_catch.hpp File Reference
#include "errorhandling.hpp"
#include <stdexcept>
#include <variant>
+ Include dependency graph for visit_try_catch.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename Visitor , typename Variant >
void visit_try_catch (Visitor &&visitor, Variant &actor)
 Run a kernel on a variant and queue errors.
 

Function Documentation

◆ visit_try_catch()

template<typename Visitor , typename Variant >
void visit_try_catch ( Visitor &&  visitor,
Variant &  actor 
)