Skip to content
Commit 77f9c59e authored by Volker Krause's avatar Volker Krause
Browse files

Add operator== to the schema.org types

As writing this by hand would be rather error prone and boring, this uses
a trick from Verdigris to generate them as part of the macro that generates
the getter/setter methods already, without the need of repeating the list
of properties again.

operator!= could be implemented in the same way for optimal efficiency,
but since we don't need that on a hot path right now I took the lazy
shortcut.
parent 5bef8ccc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment