Visitor helper class to parse the upkeep value from a config.
More...
#include <unit.hpp>
Visitor helper class to parse the upkeep value from a config.
Definition at line 1149 of file unit.hpp.
◆ operator()() [1/4]
template<typename N >
std::enable_if_t<std::is_arithmetic<N>::value, upkeep_t> unit::upkeep_parser_visitor::operator() |
( |
N |
n | ) |
const |
|
inline |
◆ operator()() [2/4]
template<typename B >
std::enable_if_t<std::is_convertible<B, bool>::value && !std::is_arithmetic<B>::value, upkeep_t> unit::upkeep_parser_visitor::operator() |
( |
B |
b | ) |
const |
|
inline |
◆ operator()() [3/4]
upkeep_t unit::upkeep_parser_visitor::operator() |
( |
boost::blank |
| ) |
const |
|
inline |
◆ operator()() [4/4]
upkeep_t unit::upkeep_parser_visitor::operator() |
( |
const std::string & |
s | ) |
const |
|
inline |
The documentation for this class was generated from the following file: