Commit Graph

328 Commits

Author SHA1 Message Date
Peter Dimov
32862d6db7 Add missing std::move 2022-10-18 16:02:33 +03:00
Peter Dimov
423d350ff1 Remove unneeded forward declarations 2022-10-18 16:01:31 +03:00
Peter Dimov
aad1f86fae Reflect the change in is_null_like 2022-10-18 16:00:14 +03:00
Peter Dimov
1f8c4a1900 Replace polymorphic lambdas with function objects for C++11 2022-10-18 06:29:57 +03:00
Peter Dimov
67a12199e6 Add JSON support (refs #28) 2022-10-18 06:08:18 +03:00
Peter Dimov
457147d1b0 Suppress -Wmaybe-uninitialized in emplace_impl 2022-10-18 03:20:36 +03:00
Peter Dimov
4a5f3dc498 Add variant<monostate, T>::emplace tests to fish out -Wmaybe-uninitialized warnings 2022-10-18 02:56:15 +03:00
Peter Dimov
6fe1c69bc8 Add Drone support 2022-10-18 02:16:59 +03:00
Peter Dimov
78a974429a Update ci.yml 2022-10-15 19:39:32 +03:00
Peter Dimov
c633a953de Change macos-10.15 to macos-11 in ci.yml 2022-08-15 19:26:35 +03:00
Peter Dimov
8ee7c5aad0 Update ci.yml 2022-07-14 14:47:06 +03:00
Peter Dimov
d34658f4c8 Document operator<< for monostate boost-1.80.0 boost-1.79.0.beta1 boost-1.80.0.beta1 boost-1.79.0 2022-01-31 19:19:49 +02:00
Peter Dimov
5e2bce1baa Add operator<< for monostate 2022-01-31 17:55:26 +02:00
Peter Dimov
573ef77382 Move unsigned ix_ after the elements to avoid need to adjust rdi (closes #30) 2021-12-09 21:28:35 +02:00
Peter Dimov
f6cad272d4 Add msvc-14.0 to GHA 2021-12-09 19:59:01 +02:00
Peter Dimov
3fc7540733 Only define operator<< when all contained types are streamable (refs #31) 2021-12-09 18:39:03 +02:00
Peter Dimov
e4b4b3f02b Extend msvc-14.2 workaround to 14.3 boost-1.78.0.beta1 boost-1.78.0 2021-10-29 02:18:23 +03:00
Peter Dimov
44d38c4111 Enable syntax highlighting 2021-10-28 23:23:13 +03:00
Peter Dimov
1ebfb3b689 Add msvc-14.3 to ci.yml 2021-10-28 23:22:20 +03:00
Peter Dimov
8af1fbde8e Update cmake_subdir_test/CMakeLists.txt 2021-09-21 14:52:38 +03:00
Peter Dimov
26ce33597d Regenerate CMakeLists.txt 2021-09-21 14:45:20 +03:00
Peter Dimov
c89713b978 Add CMake tests to ci.yml 2021-09-21 14:31:47 +03:00
Peter Dimov
10c441c8d7 Update appveyor.yml 2021-09-15 15:11:54 +03:00
Peter Dimov
09ec260780 Document operator<< 2021-09-15 03:53:13 +03:00
Peter Dimov
2da13befd7 Work around mysterious errors with gcc, msvc-14.1, and clang-cl 2021-09-15 03:28:29 +03:00
Peter Dimov
e668c099ce Add operator<< for variant 2021-09-15 02:51:11 +03:00
Peter Dimov
aebcb9792d Update documentation of visit_by_index 2021-09-15 02:00:33 +03:00
Peter Dimov
8fd9f830a9 Add proper type deduction to visit_by_index 2021-09-15 01:30:09 +03:00
Peter Dimov
ed4bebff3d Document visit_by_index 2021-09-14 21:32:57 +03:00
Peter Dimov
ad06c9b923 Add visit_by_index 2021-09-14 21:06:01 +03:00
Peter Dimov
de4eb8b6d2 Update README.md 2021-09-11 19:47:34 +03:00
Peter Dimov
4d69db1441 Extend g++-10 workarounds to 11 2021-09-11 19:23:39 +03:00
Peter Dimov
095d9770c4 Update ci.yml 2021-09-11 18:36:43 +03:00
Peter Dimov
cca476fbbc Update documentation 2021-09-11 18:29:17 +03:00
Peter Dimov
c76af4d3cf Update README.md 2021-09-11 18:26:28 +03:00
Peter Dimov
1af7b165cf BOOST_VARIANT2_CX14_ASSERT must be empty under C++11 2021-09-11 18:22:46 +03:00
Peter Dimov
49bff72be0 Define and use a helper macro BOOST_VARIANT2_CX14_ASSERT in constexpr functions 2021-09-11 18:11:17 +03:00
Peter Dimov
59780ba08e Only assert when C++14 2021-09-11 18:00:29 +03:00
Peter Dimov
edd70cfd66 Update ci.yml 2021-09-11 17:43:05 +03:00
Peter Dimov
86c2782dff Update documentation 2021-09-11 17:39:55 +03:00
Peter Dimov
dce8174550 Make unsafe_get public 2021-09-11 17:29:21 +03:00
Peter Dimov
9d40bc80f1 Use BOOST_ASSERT instead of assert 2021-09-11 17:23:29 +03:00
Peter Dimov
be6ddf9fdc Add boost/variant2.hpp 2021-09-11 17:19:09 +03:00
Peter Dimov
4153a535a0 Update .github/workflows boost-1.77.0.beta1 boost-1.77.0 2021-04-19 20:37:12 +03:00
Peter Dimov
f374ad68a3 Add -DBUILD_TESTING=ON to .yml files; it's not default anymore 2021-03-19 04:18:08 +02:00
Peter Dimov
3bc9a57c9b Merge branch 'feature/issue-26' into develop 2021-03-13 18:23:39 +02:00
Peter Dimov
3ca95a65df Use boost::hash in hash_value, not std::hash (closes #27) 2021-03-13 05:08:03 +02:00
Peter Dimov
ae1f72671e Add test for types supported by boost::hash, but not by std::hash 2021-03-13 04:50:01 +02:00
Peter Dimov
a2dab8c7d3 Refactor detail::hash_value_L 2021-03-13 04:10:41 +02:00
Peter Dimov
f39a71ed2f Merge branch 'feature/issue-26-nofix' into feature/issue-26 2021-03-13 01:09:46 +02:00