Commit Graph

195 Commits

Author SHA1 Message Date
ce14a0fc6e Fixes for esp32c3 2022-05-06 18:50:16 +02:00
30ee4ea505 Added expected.pri for qmake projects 2021-06-29 21:14:58 +02:00
aa9b2b2d1f Made the lib compatible with esp-idf 2021-05-10 20:21:39 +02:00
68a5f5d701 Update README.md 2021-03-25 11:03:23 +00:00
1d9c5d8c0d Use add_library for subdirectory usage instead of add_executable
Fixes #73
2019-11-11 10:57:18 +00:00
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
fd96e4545c Syntax highlight in README (#64) 2019-07-18 06:45:19 +01:00
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
bcdc78bf8e Remove internal Conan package: there is now an external one 2019-07-08 10:21:08 +01:00
3d741708b9 Merge branch 'master' of github.com:TartanLlama/expected v1.0.0 2019-06-25 12:34:36 +01:00
d71fc68823 Update header 2019-06-25 12:33:21 +01:00
888b763f4c Remove old docstrings 2019-06-25 12:31:24 +01:00
4f541d7221 Cmake love (#55)
* Do CMake properly

* Remove uneeded file

* Add patch to version

* Init submodule in appveyor

* Use FetchContent

* Up CMake version requirement

* Use Xenial on Travis instead of Trusty

* Tidy traits

* Use Xenial repos
2019-06-25 11:20:05 +01:00
66ea64f9af Merge branch 'master' into cmake_love 2019-06-25 11:19:42 +01:00
4700f852c7 Merge branch 'master' into cmake_love 2019-06-25 11:15:14 +01:00
edf6f538ca Use Xenial repos 2019-06-25 10:53:05 +01:00
7b60e7a6b2 Tidy traits 2019-06-25 10:52:35 +01:00
3878a899ab Use Xenial on Travis instead of Trusty 2019-06-25 10:22:18 +01:00
eff4d15dc9 Up CMake version requirement 2019-06-25 09:53:44 +01:00
0852c8f211 Use FetchContent 2019-06-25 09:52:55 +01:00
1fb40294e6 Unused argument warning fixed. (#59) 2019-05-22 14:18:09 +01:00
4f606f3d51 Correct GCC vector workaround for trivially-copyable types
Fixes #58
2019-05-22 10:41:00 +01:00
1eba0ac799 Update README.md 2019-05-02 09:54:12 +01:00
aa22af4d9d Wrap try-catch blocks for -fno-exceptions 2019-05-02 09:16:31 +01:00
6bb2b8f72d Init submodule in appveyor 2019-05-01 12:19:21 +01:00
ec5f1f18a9 Add patch to version 2019-05-01 12:17:42 +01:00
4e92363167 Remove uneeded file 2019-05-01 12:16:02 +01:00
90ed23a4e4 Do CMake properly 2019-05-01 12:15:40 +01:00
2c9780949d Update README.md 2019-04-30 11:59:40 +01:00
d49721397e Remove old docs 2019-04-30 11:54:32 +01:00
27993d1dbc Add transform 2019-04-30 11:52:55 +01:00
3674ba5295 Merge swapping 2019-04-26 13:44:27 +01:00
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
199b5267fe Reorganise union members since this appears to help GCC optimize default construction 2019-03-26 14:56:22 +00:00
32b343b866 VS 2019 Workaround
Fixes #52
2019-03-25 15:31:01 +00:00
1261754737 Fix C++11 mode in Clang 2019-03-11 13:40:31 +00:00
34bc5a0af9 Fix travis CXXSTD 2019-03-11 13:26:08 +00:00
5b58506abd First cut at Conanfile and Conan package test. (#50) 2019-03-01 09:51:12 +00:00
815238795a ifdef out GCC compiler error 2019-02-25 12:20:13 +00:00
edfdf3e689 Move error inside and_then
Fixes #49
2019-02-25 11:51:54 +00:00
2e007e9f57 Fix unused-parameter warning when exceptions are disabled (#48) 2019-02-19 18:18:24 +00:00
89670f8b21 Don't destroy value in expected<void,E>
Fixes #43
2018-11-11 11:25:16 +00:00
08b39b8042 Fix #42 2018-11-10 09:31:56 +00:00
e5ec75909c Merge branch 'master' of github.com:TartanLlama/expected v0.3 2018-09-06 09:33:23 +01:00
ceb8bfe9c4 Fix #36 2018-09-06 09:33:12 +01:00
2b5d7ed2b3 Add missing return keyword (#35) 2018-09-03 11:08:16 +01:00
03689e9d21 Fix #34 2018-09-03 08:41:42 +01:00
7b7519ff4a Make issue test C++11 2018-08-30 14:14:35 +01:00
1a88b36169 Fix #33 2018-08-30 13:57:28 +01:00
adfdcde7cd Fix VS2015 constexpr error 2018-08-30 08:55:45 +01:00