Commit Graph

125 Commits

Author SHA1 Message Date
Simon Brand
d0307fed77 Fix #23 2018-06-06 10:43:27 +01:00
Simon Brand
547e88d5ad Merge branch 'master' of github.com:TartanLlama/expected 2018-06-06 10:25:04 +01:00
Simon Brand
bae872508f Fix GCC 5.5. 2018-06-06 10:24:52 +01:00
Simon Brand
36e08034f6 Merge branch 'master' of github.com:TartanLlama/expected 2018-05-28 21:48:14 +01:00
Simon Brand
4a8b2e51b2 Qualify call to detail::invoke so that std::invoke isn't picked up due to ADL in C++17 2018-05-28 21:48:07 +01:00
Simon Brand
12334cb13b Thank Björn 2018-05-28 12:06:10 +01:00
Björn Fahller
5055e6382c or_else calls func with error state (#22)
* or_else calls func with error state

* Hopefully worked around C++11 issues with or_else

* or_else with g++-4.8 not supporting const&& overloads
2018-05-28 12:09:43 +01:00
Simon Brand
2afad949d0 Fix #15 2018-05-15 18:59:33 +01:00
Simon Brand
3e26d2eefc Merge branch 'master' of github.com:TartanLlama/expected 2018-05-11 10:20:46 +01:00
Simon Brand
74155db243 Fix #15 2018-05-11 10:20:37 +01:00
Simon Brand
96ea701de9 Travis (#19)
* Add version wildcard

* Sanity test

* Use GCC6 instead of 5

* Test GCC 7 and 8

* Test Clang 4

* Try trusty

* Try Clang 5 and 6

* Update readme
2018-05-11 10:04:25 +01:00
Simon Brand
84a3a174be Specify GCC5 version 2018-05-11 09:25:37 +01:00
Simon Brand
8af00662d9 Fix #17 2018-05-11 08:26:41 +01:00
Simon Brand
fcd78565df Rename map_impl 2018-03-05 11:03:10 +00:00
Simon Brand
5193fc66c5 Merge branch 'master' of github.com:TartanLlama/expected 2018-03-01 15:05:26 +00:00
Simon Brand
ed0c4eb48a Fix #14 2018-03-01 15:05:15 +00:00
Simon Brand
4055b360cf Test C++11 mode 2018-02-23 09:27:34 +00:00
Simon Brand
2ff689cfe4 Merge branch 'master' of github.com:TartanLlama/expected 2018-02-17 08:44:49 +00:00
Simon Brand
65d32a93a4 Fix C++11 on GCC5.4 2018-02-17 08:44:31 +00:00
Simon Brand
da6d7bc415 Merge pull request #11 from adah1972/expected-unexpected-comparison-fix
Fix expected and unexpected comparison
2018-01-14 07:40:18 +00:00
Simon Brand
fc79f85606 Merge branch 'master' of github.com:TartanLlama/expected 2018-01-14 07:37:34 +00:00
Simon Brand
af06714a56 Rename type trait macros 2018-01-14 07:37:23 +00:00
Wu Yongwei
bf11ee6662 Fix expected and unexpected comparison
p0323 currently contains a copy/paste error.
2018-01-13 16:12:55 +08:00
Simon Brand
dea5274cd2 Fix #10 2018-01-05 08:56:59 +00:00
Simon Brand
3adfec7ffc Remove expected to unexpected orderings 2017-12-28 09:47:26 +00:00
Simon Brand
304eefda71 Merge pull request #8 from adah1972/order_warning_fix
Fix -Wreorder warnings.
2017-12-28 09:38:58 +00:00
Wu Yongwei
cfbc995c12 Fix -Wreorder warnings. 2017-12-28 11:23:12 +08:00
Simon Brand
2468058ca3 Merge pull request #7 from TartanLlama/void_support
Void support
v0.2
2017-12-23 15:51:48 +00:00
Simon Brand
6a0a4f8e45 Update version number 2017-12-23 15:44:00 +00:00
Simon Brand
01dcb2f7bc More constexpr fixes 2017-12-23 15:43:35 +00:00
Simon Brand
6ec9ffded9 Constexpr fixes 2017-12-23 15:30:44 +00:00
Simon Brand
9ff078cc24 Remove bad tests 2017-12-23 15:17:14 +00:00
Simon Brand
2d7dfc8b02 More void support 2017-12-23 15:13:38 +00:00
Simon Brand
07f7b57390 More constexpr fixes 2017-12-19 19:03:32 +00:00
Simon Brand
950f0bf12f More constexpr fixes 2017-12-19 17:25:59 +00:00
Simon Brand
00dea6263b More constexpr fixes 2017-12-19 15:28:16 +00:00
Simon Brand
d7c8a569ac Constexpr fixes 2017-12-19 15:23:56 +00:00
Simon Brand
24b4725966 Fix #1 2017-12-19 15:04:45 +00:00
Simon Brand
468c403c91 Initial void support 2017-12-18 15:57:49 +00:00
Simon Brand
dee71e8bcd More tests 2017-12-05 20:47:14 +00:00
Simon Brand
00d3b08d3c Move header into 'tl' folder 2017-12-05 20:47:00 +00:00
Simon Brand
d5bc89aa18 Constexpr fixes 2017-12-05 20:45:35 +00:00
Simon Brand
45ae6b4001 Goddamnit Clang, y u define __GNUC__? 2017-12-05 20:41:11 +00:00
Simon Brand
2ac96c8ae3 Add missing return 2017-12-05 20:35:14 +00:00
Simon Brand
1d3981271f Revert 2017-12-05 20:21:19 +00:00
Simon Brand
4181f524a5 Merge pull request #2 from KABoissonneault/trivial_copy_fix
Fixed copy and move operations on "expected<trivially_copyable,nontri…
2017-12-05 20:20:29 +00:00
Simon Brand
34d6de4c47 Merge branch 'master' into trivial_copy_fix 2017-12-05 20:20:20 +00:00
Simon Brand
cb74470fc7 Merge branch 'master' into trivial_copy_fix 2017-12-05 20:19:46 +00:00
Simon Brand
9f913e3b71 Integrate PR 2 fixes 2017-12-05 20:18:38 +00:00
Simon Brand
0980210d1c More tests 2017-12-05 19:59:49 +00:00