mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-17 18:08:29 +00:00
![LoveSy](/assets/img/avatar_default.png)
- The lambda here infers its return type as `std::string`, and since `info` is `const`, the labmda copies `info.name` and returns a `std::string&&`. After captured by the `std::string_view`, the `std::string&&` return value deconstructs and makes `std::string_view` refers to a dangling pointer.