Visitor helper class to parse the upkeep value from a config. More...
#include <unit.hpp>
Public Member Functions | |
template<typename N > | |
std::enable_if_t< std::is_arithmetic_v< N >, upkeep_t > | operator() (N n) const |
template<typename B > | |
std::enable_if_t< std::is_convertible_v< B, bool > &&!std::is_arithmetic_v< B >, upkeep_t > | operator() (B b) const |
upkeep_t | operator() (utils::monostate) const |
upkeep_t | operator() (const std::string &s) const |
Visitor helper class to parse the upkeep value from a config.