Commit Graph

86 Commits

Author SHA1 Message Date
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
Simon Brand
d6cc086c8e Add acknowledgement 2017-12-05 19:56:51 +00:00
Simon Brand
e98e781ee3 Merge pull request #5 from KABoissonneault/map_decay
Fixed mapping on expected not decaying the resulting expression
2017-12-05 19:42:44 +00:00
kaboissonneault
768edb5ae7 Fixed mapping on expected not decaying the resulting expression 2017-12-05 12:38:28 -05:00
Simon Brand
3017abcd22 Merge pull request #4 from ericLemanissier/patch-2
fix typo in README
2017-12-05 06:12:16 +00:00
ericLemanissier
7cf765e356 fix typo in README 2017-12-04 12:32:06 +01:00
Simon Brand
dfe53ac8bb Merge pull request #3 from KABoissonneault/unexpected_decay
Fixed missing decay in make_unexpected
2017-12-04 08:10:54 +00:00
Kévin Alexandre Boissonneault
da1f12b81b Fixed missing decay in make_unexpected (ex: const lvalue expressions would create unexpected<T const&>, which would not compile) 2017-12-03 22:11:12 -05:00
Simon Brand
759b9ae37a Constexpr fixes 2017-12-03 08:34:18 +00:00
Simon Brand
5434d77b2f Merge branch 'master' of github.com:TartanLlama/expected 2017-12-03 08:25:28 +00:00
Simon Brand
9423013aca Support void for map_error 2017-12-03 08:25:19 +00:00
Kévin Alexandre Boissonneault
6a56887068 Fixed non-trivial copy assignment in "expected_move_assign_base" 2017-12-02 22:06:07 -05:00
Kévin Alexandre Boissonneault
5bed466a7e Fixed copy-paste error 2017-12-02 20:18:26 -05:00
Kévin Alexandre Boissonneault
0f335690db Fixed compilation on "is_trivially_*" traits on GCC4.8+ 2017-12-02 20:13:08 -05:00
Kévin Alexandre Boissonneault
65cf9dd693 Fixed missing includes 2017-12-02 19:55:35 -05:00
Kévin Alexandre Boissonneault
abbd7d8ec4 Fixed comments 2017-12-02 19:17:13 -05:00
Kévin Alexandre Boissonneault
1b0056303d Fixed copy and move operations on "expected<trivially_copyable,nontrivially_copyable" 2017-12-02 19:12:22 -05:00
Simon Brand
492f03f447 Merge branch 'master' of github.com:TartanLlama/expected 2017-12-01 12:24:00 +00:00
Simon Brand
e0d5b0bf19 Remove bad move 2017-12-01 12:23:52 +00:00
Simon Brand
bb41c1d30d Merge pull request #1 from ericLemanissier/patch-1
replace optional by expected in readme license
2017-11-29 14:02:41 +00:00
ericLemanissier
b4f9e3d224 replace optional by expected in readme license 2017-11-29 13:53:45 +01:00
Simon Brand
e081092fb1 Docs v0.1 2017-11-27 15:23:46 +00:00
Simon Brand
9abc013e43 Update docs 2017-11-27 15:19:17 +00:00
Simon Brand
e61179684c Update docs 2017-11-27 15:17:46 +00:00
Simon Brand
d37876102c Update docs 2017-11-27 15:11:47 +00:00
Simon Brand
66856b517e Update readme 2017-11-27 15:08:14 +00:00
Simon Brand
c3277f5a35 Update readme 2017-11-27 15:03:45 +00:00
Simon Brand
afdacc1ba3 More testing 2017-11-27 14:48:16 +00:00
Simon Brand
f2152f8e54 Emplace tests 2017-11-27 14:24:22 +00:00
Simon Brand
92f6fee49a Update mutexes 2017-11-27 12:24:28 +00:00
Simon Brand
e65b3d6fe4 Clang format, support cohabitation with tl::optional 2017-11-16 11:18:02 +00:00
Simon Brand
92e5c7fac2 Upgrade to Catch 2 2017-11-03 14:20:26 +00:00
Simon Brand
f10ed10245 Add SFINAE 2017-11-02 15:41:02 +00:00
Simon Brand
2e63a5f5c5 Add or_else 2017-11-02 09:57:49 +00:00
Simon Brand
0c82e4c910 Update readme 2017-11-02 09:43:23 +00:00
Simon Brand
90f88ebff2 Fix tests 2017-11-02 09:22:58 +00:00
Simon Brand
aa375b4815 Fix tests 2017-11-02 09:04:06 +00:00
Simon Brand
305db8a382 Fix GCC4.9 2017-11-02 08:59:35 +00:00
Simon Brand
ae449c6469 Fix build on clang 2017-11-02 08:33:28 +00:00
Simon Brand
26e2199751 Fix types 2017-11-02 08:25:22 +00:00