#define MICHLIB_NOSOURCE #include "odm.h" MString Data::ActionInfo(const CLArgs& args) { MString info = std::visit( [](const auto& arg) -> auto { using T = std::decay_t; if constexpr(InfoSupported) return arg.Info(); else return MString(); }, *this); if(!info.Exist()) return "Unsupported combination of action and source"; message(info); return ""; }