Hi,
I'm reading the source of a gui library called egui, I found the Property mechanism is interesting, but the source doesn't seem to work:
Property.hpp: http://pastebin.com/56wDdZNP
at line 201, void set(const type& val) {
the set function is defined as non-static
and at line 326, property_base::property_write<type>::set(val);
the set is called as static
I don't think is a bug because Property is such a low level utility that used in all the gui components.