Changes between Initial Version and Version 1 of Ticket #166
- Timestamp:
- Apr 7, 2020, 8:54:01 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #166
-
Property
Priority
changed from
major
tominor
-
Property
Summary
changed from
Cannot access inner member by reference when structs are generic
toCannot get reference to generic member of generic struct
-
Property
Priority
changed from
-
Ticket #166 – Description
initial v1 31 31 a(int) & thinga = thingb.aa; 32 32 }}} 33 34 Using a pointer, in place of a reference, may be a workaround. This version compiles properly: 35 {{{ 36 ... 37 int main() { 38 b2(int) thingb; 39 a(int) * thinga = &thingb.aa; 40 } 41 }}}