Skip to content
SiteEmail

cohtml::CoherentToBoolean

More…

#include <Property.h>

Name
boolInvoke(const T & v, bool * boolean)
Convert from C++ value to a boolean.
template <typename T >
struct cohtml::CoherentToBoolean;
static inline bool Invoke(
const T & v,
bool * boolean
)

Convert from C++ value to a boolean.

Parameters:

  • v - the C++ value
  • boolean - output parameter for the value

Return: true - if the conversion was successful