Files
optional/tests
Bj?rn Fahller 5143f9577a 'optional<T&>::and_then(F&& f) &&' calls f with lvalue reference
This makes sense. The 'optional' is an rvalue, but its contained type
remains an lvalue reference. I.e.

int i = 3;
optional<int&>{i}.and_then([](int& r){return optional<int&>{++r});

The optional r-value still refers to 'i', which is not an r-value.
2018-06-03 12:09:17 +02:00
..
2017-12-18 10:10:11 +00:00
2018-04-11 15:54:58 +01:00
2017-11-03 14:19:44 +00:00
2018-02-23 09:34:05 +00:00
2017-10-02 10:38:05 +01:00
2017-10-02 10:06:58 +01:00
2017-10-02 08:57:11 +01:00
2017-12-18 09:56:36 +00:00
2018-04-11 15:54:58 +01:00
2017-10-02 09:22:54 +01:00
2017-10-21 22:31:42 +01:00
2017-10-02 10:06:58 +01:00