The Battle for Wesnoth  1.19.0-dev
Public Member Functions | List of all members
unit::upkeep_parser_visitor Class Reference

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_toperator() (N n) const
 
template<typename B >
std::enable_if_t< std::is_convertible_v< B, bool > &&!std::is_arithmetic_v< B >, upkeep_toperator() (B b) const
 
upkeep_t operator() (utils::monostate) const
 
upkeep_t operator() (const std::string &s) const
 

Detailed Description

Visitor helper class to parse the upkeep value from a config.

Definition at line 1190 of file unit.hpp.


The documentation for this class was generated from the following file: