Commit Graph

57 Commits

Author SHA1 Message Date
Simon Brand
9399c30330 Correct MSC_VER check 2019-02-19 14:58:36 +00:00
Simon Brand
7ef0154330 Use correct is_swappable implementation for VS2017+ 2019-02-19 10:57:43 +00:00
Simon Brand
3449fbc904 Fix #15 2018-10-12 13:34:03 +01:00
Simon Brand
aecb8fe6db Fix #14 2018-09-03 09:09:47 +01:00
Simon Brand
9df8d1be39 Support std::vector of non-copyable types 2018-08-14 09:56:31 +01:00
Simon Brand
aa74eb709f Add emplace test 2018-07-11 14:32:25 +01:00
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
effc941116 Fix warnings 2018-04-11 15:54:58 +01: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
717027db9b More tests 2017-12-18 10:10:11 +00:00
Simon Brand
8c3f042b12 More tests 2017-12-18 09:56:36 +00:00
Simon Brand
c4e3b3ee14 Get references compiling, initial tests 2017-12-14 14:53:35 +00:00
Simon Brand
e589ae4321 Add static asserts 2017-12-13 11:34:33 +00:00
Simon Brand
6c73b8113f Bases fix 2017-12-13 09:13:05 +00:00
Simon Brand
247677394f Support mapping functions which return references 2017-12-05 19:51:20 +00:00
Simon Brand
26c00afe27 Fix bases test 2017-11-27 15:08:34 +00:00
Simon Brand
4308924a38 Fix GCC issues 2017-11-27 14:51:32 +00:00
Simon Brand
6c4178a947 More testing 2017-11-27 14:36:59 +00:00
Simon Brand
e62348c128 More testing 2017-11-05 20:31:18 +00:00
Simon Brand
39030e6a00 Fix ifdef 2017-11-03 14:29:35 +00:00
Simon Brand
59cf950873 Upgrade to Catch 2 2017-11-03 14:19:44 +00:00
Simon Brand
adca4b597b Fix noexcept 2017-11-01 19:03:45 +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
0950f2e721 More tests 2017-10-21 21:24:34 +01:00
Simon Brand
470595d91a More extensions 2017-10-21 20:08:43 +01:00
Simon Brand
8d1a8bc0ac Move catch 2017-10-21 19:16:34 +01:00
Simon Brand
46986ee03e MSVC 2017-10-20 12:13:45 +01:00
Simon Brand
9e7fcbdf60 MSVC 2017-10-20 11:34:22 +01:00
Simon Brand
170a1941fb MSVC 2017-10-20 11:28:34 +01:00
Simon Brand
9cb8e01095 Silly MSVC 2017-10-17 13:22:06 +01:00
Simon Brand
186c3799d2 Silly MSVC 2017-10-17 13:16:51 +01:00
Simon Brand
a09f729637 MSVC 2017-10-11 19:34:49 +01:00
Simon Brand
0003b7856d MSVC 2017-10-11 19:31:20 +01:00
Simon Brand
427aeebda1 Compiler support 2017-10-11 19:09:06 +01:00
Simon Brand
d4dd233eda Change bind overload into or_else 2017-10-06 10:03:12 +01:00
Simon Brand
4d0e92c5f6 C++11 support 2017-10-02 20:18:40 +01:00
Simon Brand
7a2b207a90 More static require 2017-10-02 14:20:01 +01:00
Simon Brand
b3f93bc9d0 Constexpr tests 2017-10-02 14:17:45 +01:00
Simon Brand
d8b6da9b3b Support C++14 2017-10-02 14:00:56 +01:00