Simon Brand
|
27993d1dbc
|
Add transform
|
2019-04-30 11:52:55 +01:00 |
|
Simon Brand
|
3674ba5295
|
Merge swapping
|
2019-04-26 13:44:27 +01:00 |
|
le-migou
|
57a8670798
|
Fix constexpr access to value() and error() (#53)
These accessors call the private helpers `val()` and `err()`, which
should also be constexpr.
|
2019-04-25 18:39:03 +01:00 |
|
Simon Brand
|
199b5267fe
|
Reorganise union members since this appears to help GCC optimize default construction
|
2019-03-26 14:56:22 +00:00 |
|
Simon Brand
|
32b343b866
|
VS 2019 Workaround
Fixes #52
|
2019-03-25 15:31:01 +00:00 |
|
Simon Brand
|
1261754737
|
Fix C++11 mode in Clang
|
2019-03-11 13:40:31 +00:00 |
|
Simon Brand
|
edfdf3e689
|
Move error inside and_then
Fixes #49
|
2019-02-25 11:51:54 +00:00 |
|
Austin Morton
|
2e007e9f57
|
Fix unused-parameter warning when exceptions are disabled (#48)
|
2019-02-19 18:18:24 +00:00 |
|
Simon Brand
|
89670f8b21
|
Don't destroy value in expected<void,E>
Fixes #43
|
2018-11-11 11:25:16 +00:00 |
|
Simon Brand
|
08b39b8042
|
Fix #42
|
2018-11-10 09:31:56 +00:00 |
|
Simon Brand
|
e5ec75909c
|
Merge branch 'master' of github.com:TartanLlama/expected
|
2018-09-06 09:33:23 +01:00 |
|
Simon Brand
|
ceb8bfe9c4
|
Fix #36
|
2018-09-06 09:33:12 +01:00 |
|
zhuhaow
|
2b5d7ed2b3
|
Add missing return keyword (#35)
|
2018-09-03 11:08:16 +01:00 |
|
Simon Brand
|
03689e9d21
|
Fix #34
|
2018-09-03 08:41:42 +01:00 |
|
Simon Brand
|
1a88b36169
|
Fix #33
|
2018-08-30 13:57:28 +01:00 |
|
Simon Brand
|
adfdcde7cd
|
Fix VS2015 constexpr error
|
2018-08-30 08:55:45 +01:00 |
|
Simon Brand
|
c012dae928
|
Fix VS2015 constexpr error
|
2018-08-30 08:49:39 +01:00 |
|
Simon Brand
|
6a2bc3888f
|
Fix #32
|
2018-08-30 08:43:09 +01:00 |
|
Simon Brand
|
5cb2aaa34e
|
Fix for MSVC
|
2018-08-24 10:27:10 +01:00 |
|
Simon Brand
|
4aa086e242
|
Support mapping no-arg functions for void expecteds
|
2018-08-24 10:08:20 +01:00 |
|
Simon Brand
|
788f536f5c
|
Add const overloads for valptr and errptr
|
2018-08-23 11:53:41 +01:00 |
|
Simon Brand
|
89813870eb
|
Only include vector workaround if vector has been included
|
2018-08-22 14:12:40 +01:00 |
|
Simon Brand
|
38beae6b2f
|
Fix map_error for C++11 with different types
|
2018-08-22 14:09:35 +01:00 |
|
Simon Brand
|
fa6af33347
|
Fix #29
|
2018-08-14 10:02:05 +01:00 |
|
Simon Brand
|
4492830414
|
Clean up converting constructors
|
2018-06-08 12:42:00 +01:00 |
|
Simon Brand
|
414c1dafa1
|
Fix #26
|
2018-06-08 12:35:38 +01:00 |
|
Simon Brand
|
72e23a137e
|
Fix #24
|
2018-06-07 08:17:39 +01:00 |
|
Simon Brand
|
568f6d1801
|
Add missing move
|
2018-06-06 13:56:56 +01:00 |
|
Simon Brand
|
db183d6f04
|
Fix Clang C++11 error
|
2018-06-06 10:54:54 +01:00 |
|
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 |
|
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
|
74155db243
|
Fix #15
|
2018-05-11 10:20: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
|
ed0c4eb48a
|
Fix #14
|
2018-03-01 15:05:15 +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 |
|
Wu Yongwei
|
cfbc995c12
|
Fix -Wreorder warnings.
|
2017-12-28 11:23:12 +08:00 |
|
Simon Brand
|
6a0a4f8e45
|
Update version number
|
2017-12-23 15:44:00 +00:00 |
|