Yonas Habteab 3e9292a349 Value: Add a specialized rvalue reference of Get()
The move `String(Value&&)` constructor tries to partially move `String`
values from a `Value` type. However, since there was no an appropriate
`Value::Get<T>()` implementation that binds to the requested move
operation, the compiler will actually not move the value but copy it
instead as the only available implementation of `Value::Get<T>()`
returns a const reference `const T&`. This commit adds a new overload
that returns a non-const reference and allows to optionally move the string
value of a Value type.
2025-03-07 10:16:31 +01:00
..
2023-01-27 11:36:09 +01:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-12-13 16:02:50 +01:00
2023-12-13 16:02:50 +01:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2025-01-07 18:20:54 +01:00
2025-01-07 18:20:54 +01:00
2021-09-23 16:08:11 +02:00
2021-09-23 16:08:11 +02:00
2021-09-23 16:08:11 +02:00
2019-05-24 16:25:32 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00
2021-02-03 09:54:57 +01:00
2023-05-17 18:05:13 +02:00
2019-11-08 11:13:26 +01:00
2023-04-04 13:40:27 +02:00
2020-12-25 23:27:08 +01:00
2021-02-03 09:54:57 +01:00
2021-02-03 09:54:57 +01:00
2021-02-03 09:54:57 +01:00
2023-05-17 18:05:13 +02:00
2023-05-17 18:05:13 +02:00