Skip to content
SiteEmail

cohtml::CoherentToNumber

More…

#include <Property.h>

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

Convert from C++ value to a number.

Parameters:

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

Return: true - if the conversion was successful