Description
Having to store the old value manually in the class which contains QNotifiedProperty is both cumbersome and wastes memory. QNotifiedProperty should support calling a function which takes one argument for the old value.
Whether that argument should be T* or optional<T> needs to be investigated.