Isabella Muerte
0ca73ee30e
🎨 Revamp CMake to be correct and easy to understand ( #69 )
...
🎨 Cleanup include path for catch2
✨ Add basic .deb generation support
WiX and RPM support is still needed (if even desired?)
⬆️ Upgrade minimum CMake version to 3.14
⬆️ Upgrade Catch to Catch v2.9.2
📌 Pin Catch to v2.9.2
2019-10-25 14:44:01 +01:00
Simon Brand
6fe2af5191
Move the error value when throwing an exception in .value rval overloads ( #62 )
...
* Move the error value when throwing an exception in .value rval overloads
Fixes #61
* Bump version
2019-07-10 09:26:02 +01:00
Simon Brand
90ed23a4e4
Do CMake properly
2019-05-01 12:15:40 +01:00
Simon Brand
3674ba5295
Merge swapping
2019-04-26 13:44:27 +01:00
Simon Brand
815238795a
ifdef out GCC compiler error
2019-02-25 12:20:13 +00:00
Simon Brand
edfdf3e689
Move error inside and_then
...
Fixes #49
2019-02-25 11:51:54 +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
03689e9d21
Fix #34
2018-09-03 08:41:42 +01:00
Simon Brand
7b7519ff4a
Make issue test C++11
2018-08-30 14:14:35 +01:00
Simon Brand
1a88b36169
Fix #33
2018-08-30 13:57:28 +01:00
Simon Brand
6a2bc3888f
Fix #32
2018-08-30 08:43:09 +01:00
Simon Brand
4aa086e242
Support mapping no-arg functions for void expecteds
2018-08-24 10:08:20 +01:00
Simon Brand
d7cf0688f1
Add test for #31
2018-08-23 11:55:38 +01:00
Simon Brand
53527b804b
Add test for issue 23
2018-08-22 15:09:59 +01:00
Simon Brand
e72a56d40d
Fix MSVC error
2018-08-22 14:02:43 +01:00
Simon Brand
266bd8f18d
Add issue 30 test
2018-08-22 13:47:12 +01:00
Simon Brand
fa6af33347
Fix #29
2018-08-14 10:02:05 +01:00
Simon Brand
414c1dafa1
Fix #26
2018-06-08 12:35:38 +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
8af00662d9
Fix #17
2018-05-11 08:26:41 +01:00
Simon Brand
ed0c4eb48a
Fix #14
2018-03-01 15:05:15 +00:00
Simon Brand
af06714a56
Rename type trait macros
2018-01-14 07:37:23 +00:00
Simon Brand
01dcb2f7bc
More constexpr fixes
2017-12-23 15:43:35 +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
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
cb74470fc7
Merge branch 'master' into trivial_copy_fix
2017-12-05 20:19:46 +00:00
Simon Brand
0980210d1c
More tests
2017-12-05 19:59:49 +00:00
Simon Brand
9423013aca
Support void for map_error
2017-12-03 08:25:19 +00: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
1b0056303d
Fixed copy and move operations on "expected<trivially_copyable,nontrivially_copyable"
2017-12-02 19:12:22 -05:00
Simon Brand
66856b517e
Update readme
2017-11-27 15:08:14 +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
92e5c7fac2
Upgrade to Catch 2
2017-11-03 14:20:26 +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
47b1ae09a3
Start writing docs
2017-10-30 15:38:14 +00:00
Simon Brand
2c90606f59
Attempt to conditionally delete assignment
2017-10-30 07:46:41 +00:00
Simon Brand
32fe1431be
Remove autosave
2017-10-27 12:19:09 +01:00
Simon Brand
a089579387
map_error tests
2017-10-27 12:18:57 +01:00
Simon Brand
dddf72ee34
Map and and_then with tests
2017-10-27 12:08:25 +01:00
Simon Brand
4a86ae788d
First tests
2017-10-26 22:01:39 +01:00
Simon Brand
9fdb2db439
Test setup
2017-10-26 21:09:41 +01:00