The Battle for Wesnoth  1.19.5+dev
Public Member Functions | List of all members
config_attribute_value::equality_visitor Class Reference

Visitor handling equality checks. More...

Public Member Functions

template<typename T , typename U >
bool operator() (const T &, const U &) const
 
template<typename T >
bool operator() (const T &lhs, const T &rhs) const
 
bool operator() (const true_false &lhs, const yes_no &rhs) const
 
bool operator() (const yes_no &lhs, const true_false &rhs) const
 

Detailed Description

Visitor handling equality checks.

Definition at line 360 of file config_attribute_value.cpp.

Member Function Documentation

◆ operator()() [1/4]

template<typename T , typename U >
bool config_attribute_value::equality_visitor::operator() ( const T &  ,
const U &   
) const
inline

Definition at line 368 of file config_attribute_value.cpp.

◆ operator()() [2/4]

template<typename T >
bool config_attribute_value::equality_visitor::operator() ( const T &  lhs,
const T &  rhs 
) const
inline

Definition at line 375 of file config_attribute_value.cpp.

◆ operator()() [3/4]

bool config_attribute_value::equality_visitor::operator() ( const true_false lhs,
const yes_no rhs 
) const
inline

Definition at line 381 of file config_attribute_value.cpp.

◆ operator()() [4/4]

bool config_attribute_value::equality_visitor::operator() ( const yes_no lhs,
const true_false rhs 
) const
inline

Definition at line 386 of file config_attribute_value.cpp.


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