cohtml::CoherentToBoolean

More…

#include <Property.h>

Public Functions

Name
boolInvoke(const T & v, bool * boolean)
Convert from C++ value to a boolean.

Detailed Description

template <typename T >
struct cohtml::CoherentToBoolean;

Public Functions Documentation

function Invoke

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