1 | struct S { |
---|---|
2 | S(); |
3 | S(const S&); |
4 | ~S(); |
5 | S& operator= (const S&); |
6 | }; |
7 | |
8 | @interface C { |
9 | S position; |
10 | } |
11 | @property(assign, nonatomic) S position; |
12 | @end |
13 | |
14 | @implementation C |
15 | @synthesize position; |
16 | @end |
17 |
1 | struct S { |
---|---|
2 | S(); |
3 | S(const S&); |
4 | ~S(); |
5 | S& operator= (const S&); |
6 | }; |
7 | |
8 | @interface C { |
9 | S position; |
10 | } |
11 | @property(assign, nonatomic) S position; |
12 | @end |
13 | |
14 | @implementation C |
15 | @synthesize position; |
16 | @end |
17 |