Might have to do with coercions.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
A lot of questions about dereferencing and coercion | 6 | 2375 | January 12, 2023 | |
Understanding the typing of references | 6 | 1456 | January 12, 2023 | |
Is deref coercion applied for &&T to &T | 2 | 460 | February 1, 2022 | |
Tell me what compiler did for me | 3 | 478 | January 5, 2020 | |
Another deref question: the priority of deref coercion | 6 | 575 | August 17, 2021 |