Simon Brand
c8a6658f9f
Remove GCC5.5 from test
2018-06-07 09:23:52 +01:00
Simon Brand
04b817f0d3
Correct GCC5.5 macro
2018-06-07 09:05:39 +01:00
Simon Brand
6e8235c085
Remove GCC5.5 from constexpr tests
2018-06-07 08:54:43 +01:00
Simon Brand
b3b2715a95
Remove GCC5.5 from constexpr tests
2018-06-07 08:28:29 +01:00
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
Simon Brand
dccbc0b23e
C++11 fixes
2018-02-23 09:34:05 +00:00
Simon Brand
4bde006cb5
Fix map for reference types
2018-02-11 09:32:35 +00:00
Simon Brand
8c3f042b12
More tests
2017-12-18 09:56:36 +00:00
Simon Brand
e589ae4321
Add static asserts
2017-12-13 11:34:33 +00:00
Simon Brand
247677394f
Support mapping functions which return references
2017-12-05 19:51:20 +00:00
Simon Brand
39030e6a00
Fix ifdef
2017-11-03 14:29:35 +00:00
Simon Brand
7cfe5f71e4
Fix tests
2017-10-29 20:22:55 +00:00
Simon Brand
31da15a391
Constexpr fixes
2017-10-24 16:04:31 +01:00
Simon Brand
1b9d589024
Constexpr fixes
2017-10-24 15:46:07 +01:00
Simon Brand
0df06afe8d
Fix #2
2017-10-24 15:32:22 +01:00
Simon Brand
98f34bed66
Fix #1
2017-10-24 15:07:29 +01:00
Simon Brand
1f22aabe21
Support GCC 4.8
2017-10-21 22:31:42 +01:00
Simon Brand
310c5220e6
Support GCC 4.9
2017-10-21 22:21:49 +01:00
Simon Brand
470595d91a
More extensions
2017-10-21 20:08:43 +01:00