|
|
От: | Jack128 | |
| Дата: | 24.10.17 20:53 | ||
| Оценка: | 5 (1) +1 -2 | ||
ОтсюдаSince all regular instance methods of a struct can potentially mutate the instance or ref-expose this, an intermediate copy must be created, as already a case when receiver is a readonly field.