When T is an aggregate type, eg struct Rect { int x; int y; int width; int height; }
It would be great to be able to access members of Property, i.e that:
Property<Rect> r;
auto widthProp = makeBoundProperty(r.width);
This slightly overlaps with what @lemirep is asking about in #28, except in my case the aggregate does not contain Property<> members. The desired behaviour can be done using a function argument to makeBoundProperty : the question is whether some overload of operator-dot (and ->, presumably) could synthesise the access.
When T is an aggregate type, eg
struct Rect { int x; int y; int width; int height; }It would be great to be able to access members of Property, i.e that:
This slightly overlaps with what @lemirep is asking about in #28, except in my case the aggregate does not contain
Property<>members. The desired behaviour can be done using a function argument tomakeBoundProperty: the question is whether some overload of operator-dot (and->, presumably) could synthesise the access.