Commit Graph

  • 2ea2ff915b Fix documentation of get_if Peter Dimov 2019-02-22 12:27:53 +02:00
  • d6d1cbd9fe Merge branch 'feature/more-travis' into feature/unsafe-get Peter Dimov 2019-02-22 03:41:06 +02:00
  • f4d852e5ab Define detail::unsafe_get, use it in visit Peter Dimov 2019-02-22 03:21:56 +02:00
  • 89c58a9b83 Add clang 7 to Travis, test c++2a 1769318750213577047/tmp_refs/heads/feature/more-travis 1769318750213577047/feature/more-travis 1769304746825243638/tmp_refs/heads/feature/more-travis 1769304746825243638/feature/more-travis feature/more-travis Peter Dimov 2019-02-22 02:58:33 +02:00
  • 831231a8b3 Merge branch 'feature/copy_cv_ref' into develop Peter Dimov 2019-02-22 02:46:02 +02:00
  • 4c8b0d2dee Document reference specializations of variant_size, variant_alternative Peter Dimov 2019-02-22 02:07:47 +02:00
  • a0b499bc3b Use copy_cv_ref in apply_cv_ref instead of variant_alternative_t feature/copy_cv_ref Peter Dimov 2019-02-22 01:57:09 +02:00
  • 37a22db254 Try msvc workaround for clang 3.8 too feature/clang-3.8 Peter Dimov 2019-02-21 23:18:54 +02:00
  • c1287f9e95 Fix variant_alternative for g++ 4.8 Peter Dimov 2019-02-21 23:06:24 +02:00
  • 34933c35bd Use variant_alternative_t directly for references Peter Dimov 2019-02-21 22:42:21 +02:00
  • d8cd270268 Add reference specializations to variant_alternative Peter Dimov 2019-02-21 22:22:07 +02:00
  • 87a2e88edb Use variant_size directly with references Peter Dimov 2019-02-21 22:03:56 +02:00
  • cf3ea64b45 Add reference specializations to variant_size Peter Dimov 2019-02-21 21:57:39 +02:00
  • f67a6bd2ae Remove variant2:: qualifications, detail is no longer ambiguous Peter Dimov 2019-02-21 21:40:06 +02:00
  • f3e101a841 Remove using namespace boost::mp11 Peter Dimov 2019-02-21 20:37:20 +02:00
  • 5911e80f4f Update documentation 1769319766737477140/tmp_refs/heads/feature/doc 1769319766737477140/feature/doc 1769317774650876718/tmp_refs/heads/feature/doc 1769317774650876718/feature/doc 1769311702130387560/tmp_refs/heads/feature/doc 1769311702130387560/feature/doc feature/doc Peter Dimov 2019-02-21 06:42:06 +02:00
  • 24fae0f542 Fix SFINAE conditions on emplace<U> Peter Dimov 2019-02-18 20:40:17 +02:00
  • 8f2ef7ddc1 Fix line indent Peter Dimov 2019-02-18 20:00:02 +02:00
  • 58709c2922 Change mp_invoke to mp_invoke_q Peter Dimov 2019-02-18 19:58:20 +02:00
  • 16027c5447 Add to documentation Peter Dimov 2019-02-18 19:51:23 +02:00
  • 3fb89b9f5a Merge branch 'develop' into feature/doc Peter Dimov 2018-10-25 02:56:49 +03:00
  • 33f28c739f Fix test/variant_move_construct_cx.cpp Peter Dimov 2018-10-24 19:03:00 +03:00
  • c1d2d991b4 Fix test/variant_copy_construct_cx.cpp Peter Dimov 2018-10-24 18:58:23 +03:00
  • 7c7779621f Initial documentation commit (WIP) Peter Dimov 2018-10-24 18:34:17 +03:00
  • f14228d996 Minor README fixes Peter Dimov 2018-10-19 01:24:26 +03:00
  • 3fb00763cb Fix typos Peter Dimov 2018-10-18 20:24:06 +03:00
  • ebc8959049 Update README Peter Dimov 2018-10-18 19:55:15 +03:00
  • d1acc969f7 More g++ 4.8 fixes, const&& doesn't work well feature/c++11 Peter Dimov 2018-10-18 18:51:19 +03:00
  • 24d7f83403 Rewrite variant_alternative for g++ 4.8 Peter Dimov 2018-10-18 18:33:22 +03:00
  • 3b1a709def &v is not a constant expression on g++ 4.x Peter Dimov 2018-10-18 18:16:11 +03:00
  • a13ccee145 Fix tests when X3 is not v2d::trivially_move_assignable Peter Dimov 2018-10-18 17:46:32 +03:00
  • 0e72d274a7 X3 is not v2d::trivially_move_assignable on libstdc++ 4.x Peter Dimov 2018-10-18 17:26:25 +03:00
  • 0408c8c16a is_trivially_move_assignable doesn't exist in libstdc++ 4.x Peter Dimov 2018-10-18 17:10:12 +03:00
  • 4c2c30b3c6 Remove hdr_type_traits requirement Peter Dimov 2018-10-18 08:48:08 +03:00
  • c6f441f9f2 Finish C++11 port Peter Dimov 2018-10-18 08:41:37 +03:00
  • 4878a5b87c Enable msvc-14.0 Peter Dimov 2018-10-18 07:43:50 +03:00
  • 25ff2e77d4 Disable warning Peter Dimov 2018-10-18 07:33:46 +03:00
  • 1f0c9b7151 Untabify Peter Dimov 2018-10-18 07:28:52 +03:00
  • 9b9c5b2e74 Fix msvc-14.1 regression Peter Dimov 2018-10-18 07:28:39 +03:00
  • 90cc6b7374 Port to C++11 Peter Dimov 2018-10-18 07:19:45 +03:00
  • 38b20dd503 Expand get_by_index, get_by_type tests Peter Dimov 2018-10-18 07:18:13 +03:00
  • bdd1e2c889 Update test/Jamfile Peter Dimov 2018-10-18 04:29:03 +03:00
  • 46ee0af110 Remove valueless; monostate is enough Peter Dimov 2018-10-18 03:32:57 +03:00
  • 19d48d9d8b Fix .travis.yml; update MSVC workarounds Peter Dimov 2018-10-18 00:43:01 +03:00
  • 4fe9454e3e Update .yml files Peter Dimov 2018-10-18 00:05:41 +03:00
  • 81023c3569 Add requirements to test/Jamfile Peter Dimov 2017-07-04 14:39:36 +03:00
  • 070844cbda Execute bootstrap in subshell on Appveyor to preserve TOOLSET Peter Dimov 2017-06-22 17:36:27 +03:00
  • 4a79b5573e Merge branch 'master' into develop Peter Dimov 2017-06-14 02:07:11 +03:00
  • 049be646f7 Update README.md Peter Dimov 2017-06-14 01:08:29 +03:00
  • 4de9f80487 Require valueless to be first, add test Peter Dimov 2017-06-14 01:04:36 +03:00
  • 44d2ead565 Merge pull request #1 from pdimov/pdimov-patch-1 Peter Dimov 2017-06-13 22:02:54 +03:00
  • d169681767 Update README.md Peter Dimov 2017-06-13 22:01:43 +03:00
  • 236193114c Add monostate, valueless; opt-into single-buffer is now 'valueless', not arbitrary nothrow default constructible Peter Dimov 2017-06-13 21:48:14 +03:00
  • 66f123af06 Merge branch 'develop' Peter Dimov 2017-06-09 19:13:54 +03:00
  • 3bb14bf93b Add emulations for is_trivially_* traits for libstdc++ < 5 Peter Dimov 2017-06-09 17:45:36 +03:00
  • 82104cd55e constexpr the copy/move constructors; change copy/move assign to not require constexpr lambdas Peter Dimov 2017-06-09 17:24:23 +03:00
  • f216bb5c1f Add test/variant_move_assign_cx Peter Dimov 2017-06-09 15:13:36 +03:00
  • 6545dc3d10 Add test/variant_copy_assign_cx Peter Dimov 2017-06-09 15:09:42 +03:00
  • 72c16ccee1 Add test/variant_value_assign_cx Peter Dimov 2017-06-09 14:58:49 +03:00
  • 870dcee0a8 Fix tests accordingly Peter Dimov 2017-06-09 05:29:22 +03:00
  • ca0e58f3fc is_trivially_copyable doesn't exist on 4.9 either Peter Dimov 2017-06-09 04:49:44 +03:00
  • 3a198b5f2b Use is_trivially_copyable instead of has_trivial_copy_* Peter Dimov 2017-06-09 04:31:59 +03:00
  • 3c18ded3aa Check is_move_constructible, is_move_assignable Peter Dimov 2017-06-09 04:17:06 +03:00
  • 7c00db0600 has_trivial_move doesn't exist either in libstd++ pre-5 Peter Dimov 2017-06-09 03:44:02 +03:00
  • 893cd7c1e5 Add workaround for libstdc++ < 5 Peter Dimov 2017-06-09 03:22:31 +03:00
  • 613d411396 Fix constexpr emplace on clang and msvc-14.1 Peter Dimov 2017-06-09 02:27:02 +03:00
  • 0997734e5c Make emplace constexpr Peter Dimov 2017-06-09 02:05:34 +03:00
  • 48547c9c8a Merge branch 'develop' Peter Dimov 2017-06-04 18:25:25 +03:00
  • e68ff1f014 Fix copy/paste mistake Peter Dimov 2017-06-04 13:55:42 +03:00
  • 1bd9c231ad Update expected.md Peter Dimov 2017-06-03 16:13:04 +03:00
  • 2af60f13a2 Update README.md Peter Dimov 2017-06-03 15:58:27 +03:00
  • 6225ba33c3 Update doc/expected.md Peter Dimov 2017-06-03 15:52:07 +03:00
  • d88ba98e92 Throw bad_expected_access if throw_on_unexpected returns Peter Dimov 2017-06-03 15:51:28 +03:00
  • 02ecef4fcb Add const on remap_errors() Peter Dimov 2017-06-03 14:58:44 +03:00
  • 2b86468e67 Update expected.md Peter Dimov 2017-06-03 14:57:30 +03:00
  • be5f19f7cf Update expected.md Peter Dimov 2017-06-03 14:45:22 +03:00
  • 4e34749d87 Add doc/expected.md Peter Dimov 2017-06-03 14:43:21 +03:00
  • d5d5af660e Update README.md Peter Dimov 2017-06-03 14:26:24 +03:00
  • 0c7d573af8 Update README.md Peter Dimov 2017-06-03 14:24:41 +03:00
  • f660bd5ae2 Merge branch 'develop' Peter Dimov 2017-06-03 00:46:39 +03:00
  • 369781b623 Add test/variant_subset Peter Dimov 2017-06-03 00:27:52 +03:00
  • 8765ee1983 Add expected::operator>> as an alias for .then Peter Dimov 2017-06-03 00:12:01 +03:00
  • 241f41121e Add test/variant_convert_construct Peter Dimov 2017-06-03 00:11:33 +03:00
  • e347ecbff1 Simplify bad_expected_access<E> a bit Peter Dimov 2017-06-02 23:28:51 +03:00
  • bdd449ae6a get_if should return 0 when passed 0 Peter Dimov 2017-06-02 22:11:29 +03:00
  • 8a4bc23bf2 Merge branch 'develop' Peter Dimov 2017-06-02 20:00:47 +03:00
  • c867329bb8 Rename mp_for_index to mp_with_index in expected.hpp, too Peter Dimov 2017-06-02 18:27:08 +03:00
  • 9b3121fac0 Rename mp_for_index to mp_with_index Peter Dimov 2017-06-02 18:25:11 +03:00
  • 0b387f5116 Add .then Peter Dimov 2017-06-02 18:11:43 +03:00
  • 193a96f83b Merge branch 'develop' Peter Dimov 2017-06-02 16:19:18 +03:00
  • 3d2a3cb3eb Redesign bad_expected_access Peter Dimov 2017-06-02 15:59:43 +03:00
  • 6704a008da Merge branch 'develop' Peter Dimov 2017-06-02 06:27:21 +03:00
  • d55db1dbc6 Replace use of get<> with ._get_impl for better codegen Peter Dimov 2017-06-02 06:02:50 +03:00
  • c99bf2205c Move index() into variant_base to avoid needless ix_ >= 0 checks when single buffered Peter Dimov 2017-06-02 05:41:13 +03:00
  • 2a6c157fcc Add preliminary expected<T, E...> implementation Peter Dimov 2017-06-02 05:15:51 +03:00
  • f4f949fc2f Add converting constructors, subset<U...>() Peter Dimov 2017-06-02 05:14:40 +03:00
  • 0f0068b562 Merge branch 'develop' Peter Dimov 2017-06-02 01:55:03 +03:00
  • 26c1f716ec Add test/variant_lt_gt Peter Dimov 2017-06-02 00:44:20 +03:00
  • 3a7078cdfb Add preliminary outcome.hpp Peter Dimov 2017-06-01 21:47:40 +03:00
  • ca14504675 Add preliminary result.hpp Peter Dimov 2017-06-01 21:22:19 +03:00