Luna::equal_to_func_t

using equal_to_func_t =  bool(typeinfo_t type, const void* lhs, const void* rhs)

The equality testing function used by the reflection system.

Parameters

  • in type

    The type object.

  • in lhs

    The pointer to the first instance to be compared.

  • in rhs

    The pointer to the second instance to be compared.

Return value

Returns true if two instances are equal. Returns false otherwise.