Commit Graph

  • 6998d2ed72 Correct swapping implementation Simon Brand 2019-02-19 14:51:01 +00:00
  • 89670f8b21 Don't destroy value in expected<void,E> Fixes #43 Simon Brand 2018-11-11 11:25:16 +00:00
  • 08b39b8042 Fix #42 Simon Brand 2018-11-10 09:31:56 +00:00
  • e5ec75909c Merge branch 'master' of github.com:TartanLlama/expected v0.3 Simon Brand 2018-09-06 09:33:23 +01:00
  • ceb8bfe9c4 Fix #36 Simon Brand 2018-09-06 09:33:12 +01:00
  • 2b5d7ed2b3 Add missing return keyword (#35) zhuhaow 2018-09-03 18:08:16 +08:00
  • 03689e9d21 Fix #34 Simon Brand 2018-09-03 08:41:42 +01:00
  • 7b7519ff4a Make issue test C++11 Simon Brand 2018-08-30 14:14:35 +01:00
  • 1a88b36169 Fix #33 Simon Brand 2018-08-30 13:57:28 +01:00
  • adfdcde7cd Fix VS2015 constexpr error Simon Brand 2018-08-30 08:55:45 +01:00
  • c012dae928 Fix VS2015 constexpr error Simon Brand 2018-08-30 08:49:39 +01:00
  • 6a2bc3888f Fix #32 Simon Brand 2018-08-30 08:43:09 +01:00
  • 5cb2aaa34e Fix for MSVC Simon Brand 2018-08-24 10:27:10 +01:00
  • 4aa086e242 Support mapping no-arg functions for void expecteds Simon Brand 2018-08-24 10:08:20 +01:00
  • d7cf0688f1 Add test for #31 Simon Brand 2018-08-23 11:55:38 +01:00
  • 788f536f5c Add const overloads for valptr and errptr Simon Brand 2018-08-23 11:53:41 +01:00
  • 53527b804b Add test for issue 23 Simon Brand 2018-08-22 15:09:59 +01:00
  • 89813870eb Only include vector workaround if vector has been included Simon Brand 2018-08-22 14:12:40 +01:00
  • 38beae6b2f Fix map_error for C++11 with different types Simon Brand 2018-08-22 14:09:35 +01:00
  • e72a56d40d Fix MSVC error Simon Brand 2018-08-22 14:02:43 +01:00
  • 266bd8f18d Add issue 30 test Simon Brand 2018-08-22 13:47:12 +01:00
  • fa6af33347 Fix #29 Simon Brand 2018-08-14 10:02:05 +01:00
  • 4492830414 Clean up converting constructors Simon Brand 2018-06-08 12:42:00 +01:00
  • 259def9a8a Merge branch 'master' of github.com:TartanLlama/expected Simon Brand 2018-06-08 12:35:51 +01:00
  • 414c1dafa1 Fix #26 Simon Brand 2018-06-08 12:35:38 +01:00
  • 964438dfb7 Play nice with CMake add_subdirectory (#25) Kenneth Benzie 2018-06-08 11:46:44 +01:00
  • 72e23a137e Fix #24 Simon Brand 2018-06-07 08:17:39 +01:00
  • 568f6d1801 Add missing move Simon Brand 2018-06-06 13:56:56 +01:00
  • db183d6f04 Fix Clang C++11 error Simon Brand 2018-06-06 10:54:54 +01:00
  • 1eb0a2ec98 Update readme Simon Brand 2018-06-06 10:46:12 +01:00
  • d0307fed77 Fix #23 Simon Brand 2018-06-06 10:43:27 +01:00
  • 547e88d5ad Merge branch 'master' of github.com:TartanLlama/expected Simon Brand 2018-06-06 10:25:04 +01:00
  • bae872508f Fix GCC 5.5. Simon Brand 2018-06-06 10:24:52 +01:00
  • 36e08034f6 Merge branch 'master' of github.com:TartanLlama/expected Simon Brand 2018-05-28 21:48:14 +01:00
  • 4a8b2e51b2 Qualify call to detail::invoke so that std::invoke isn't picked up due to ADL in C++17 Simon Brand 2018-05-28 21:48:07 +01:00
  • 12334cb13b Thank Björn Simon Brand 2018-05-28 12:06:10 +01:00
  • 5055e6382c or_else calls func with error state (#22) Björn Fahller 2018-05-28 13:09:43 +02:00
  • 2afad949d0 Fix #15 Simon Brand 2018-05-15 18:59:33 +01:00
  • 3e26d2eefc Merge branch 'master' of github.com:TartanLlama/expected Simon Brand 2018-05-11 10:20:46 +01:00
  • 74155db243 Fix #15 Simon Brand 2018-05-11 10:20:37 +01:00
  • 96ea701de9 Travis (#19) Simon Brand 2018-05-11 10:04:25 +01:00
  • 84a3a174be Specify GCC5 version Simon Brand 2018-05-11 09:25:37 +01:00
  • 8af00662d9 Fix #17 Simon Brand 2018-05-11 08:26:41 +01:00
  • 9ee993b099 Remove extensions noext Simon Brand 2018-03-07 14:10:03 +00:00
  • fcd78565df Rename map_impl Simon Brand 2018-03-05 11:03:10 +00:00
  • 5193fc66c5 Merge branch 'master' of github.com:TartanLlama/expected Simon Brand 2018-03-01 15:05:26 +00:00
  • ed0c4eb48a Fix #14 Simon Brand 2018-03-01 15:05:15 +00:00
  • 4055b360cf Test C++11 mode Simon Brand 2018-02-23 09:27:34 +00:00
  • 2ff689cfe4 Merge branch 'master' of github.com:TartanLlama/expected Simon Brand 2018-02-17 08:44:49 +00:00
  • 65d32a93a4 Fix C++11 on GCC5.4 Simon Brand 2018-02-17 08:44:31 +00:00
  • da6d7bc415 Merge pull request #11 from adah1972/expected-unexpected-comparison-fix Simon Brand 2018-01-14 07:40:18 +00:00
  • fc79f85606 Merge branch 'master' of github.com:TartanLlama/expected Simon Brand 2018-01-14 07:37:34 +00:00
  • af06714a56 Rename type trait macros Simon Brand 2018-01-14 07:37:23 +00:00
  • bf11ee6662 Fix expected and unexpected comparison Wu Yongwei 2018-01-13 16:12:55 +08:00
  • dea5274cd2 Fix #10 Simon Brand 2018-01-05 08:56:59 +00:00
  • 3adfec7ffc Remove expected to unexpected orderings Simon Brand 2017-12-28 09:47:26 +00:00
  • 304eefda71 Merge pull request #8 from adah1972/order_warning_fix Simon Brand 2017-12-28 09:38:58 +00:00
  • cfbc995c12 Fix -Wreorder warnings. Wu Yongwei 2017-12-28 11:23:12 +08:00
  • 2468058ca3 Merge pull request #7 from TartanLlama/void_support v0.2 Simon Brand 2017-12-23 15:51:48 +00:00
  • 6a0a4f8e45 Update version number Simon Brand 2017-12-23 15:44:00 +00:00
  • 01dcb2f7bc More constexpr fixes Simon Brand 2017-12-23 15:43:35 +00:00
  • 6ec9ffded9 Constexpr fixes Simon Brand 2017-12-23 15:30:44 +00:00
  • 9ff078cc24 Remove bad tests Simon Brand 2017-12-23 15:17:14 +00:00
  • 2d7dfc8b02 More void support Simon Brand 2017-12-23 15:13:38 +00:00
  • 07f7b57390 More constexpr fixes Simon Brand 2017-12-19 19:03:32 +00:00
  • 950f0bf12f More constexpr fixes Simon Brand 2017-12-19 17:25:59 +00:00
  • 00dea6263b More constexpr fixes Simon Brand 2017-12-19 15:28:16 +00:00
  • d7c8a569ac Constexpr fixes Simon Brand 2017-12-19 15:23:56 +00:00
  • 24b4725966 Fix #1 Simon Brand 2017-12-19 15:04:45 +00:00
  • 468c403c91 Initial void support Simon Brand 2017-12-18 15:57:49 +00:00
  • dee71e8bcd More tests Simon Brand 2017-12-05 20:47:14 +00:00
  • 00d3b08d3c Move header into 'tl' folder Simon Brand 2017-12-05 20:47:00 +00:00
  • d5bc89aa18 Constexpr fixes Simon Brand 2017-12-05 20:45:35 +00:00
  • 45ae6b4001 Goddamnit Clang, y u define __GNUC__? Simon Brand 2017-12-05 20:41:11 +00:00
  • 2ac96c8ae3 Add missing return Simon Brand 2017-12-05 20:35:14 +00:00
  • 1d3981271f Revert Simon Brand 2017-12-05 20:21:19 +00:00
  • 4181f524a5 Merge pull request #2 from KABoissonneault/trivial_copy_fix Simon Brand 2017-12-05 20:20:29 +00:00
  • 34d6de4c47 Merge branch 'master' into trivial_copy_fix Simon Brand 2017-12-05 20:20:20 +00:00
  • cb74470fc7 Merge branch 'master' into trivial_copy_fix Simon Brand 2017-12-05 20:19:46 +00:00
  • 9f913e3b71 Integrate PR 2 fixes Simon Brand 2017-12-05 20:18:38 +00:00
  • 0980210d1c More tests Simon Brand 2017-12-05 19:59:49 +00:00
  • d6cc086c8e Add acknowledgement Simon Brand 2017-12-05 19:56:51 +00:00
  • e98e781ee3 Merge pull request #5 from KABoissonneault/map_decay Simon Brand 2017-12-05 19:42:44 +00:00
  • 768edb5ae7 Fixed mapping on expected not decaying the resulting expression kaboissonneault 2017-12-05 12:38:28 -05:00
  • 3017abcd22 Merge pull request #4 from ericLemanissier/patch-2 Simon Brand 2017-12-05 06:12:16 +00:00
  • 7cf765e356 fix typo in README ericLemanissier 2017-12-04 12:32:06 +01:00
  • dfe53ac8bb Merge pull request #3 from KABoissonneault/unexpected_decay Simon Brand 2017-12-04 08:10:54 +00:00
  • da1f12b81b Fixed missing decay in make_unexpected (ex: const lvalue expressions would create unexpected<T const&>, which would not compile) Kévin Alexandre Boissonneault 2017-12-03 22:11:12 -05:00
  • 759b9ae37a Constexpr fixes Simon Brand 2017-12-03 08:34:18 +00:00
  • 5434d77b2f Merge branch 'master' of github.com:TartanLlama/expected Simon Brand 2017-12-03 08:25:28 +00:00
  • 9423013aca Support void for map_error Simon Brand 2017-12-03 08:25:19 +00:00
  • 6a56887068 Fixed non-trivial copy assignment in "expected_move_assign_base" Kévin Alexandre Boissonneault 2017-12-02 22:06:07 -05:00
  • 5bed466a7e Fixed copy-paste error Kévin Alexandre Boissonneault 2017-12-02 20:18:26 -05:00
  • 0f335690db Fixed compilation on "is_trivially_*" traits on GCC4.8+ Kévin Alexandre Boissonneault 2017-12-02 20:13:08 -05:00
  • 65cf9dd693 Fixed missing includes Kévin Alexandre Boissonneault 2017-12-02 19:55:35 -05:00
  • abbd7d8ec4 Fixed comments Kévin Alexandre Boissonneault 2017-12-02 19:17:13 -05:00
  • 1b0056303d Fixed copy and move operations on "expected<trivially_copyable,nontrivially_copyable" Kévin Alexandre Boissonneault 2017-12-02 19:12:22 -05:00
  • 492f03f447 Merge branch 'master' of github.com:TartanLlama/expected Simon Brand 2017-12-01 12:24:00 +00:00
  • e0d5b0bf19 Remove bad move Simon Brand 2017-12-01 12:23:52 +00:00
  • bb41c1d30d Merge pull request #1 from ericLemanissier/patch-1 Simon Brand 2017-11-29 14:02:41 +00:00