Commit Graph

  • 09ec260780 Document operator<< Peter Dimov 2021-09-15 03:53:13 +03:00
  • 2da13befd7 Work around mysterious errors with gcc, msvc-14.1, and clang-cl Peter Dimov 2021-09-15 03:28:29 +03:00
  • e668c099ce Add operator<< for variant Peter Dimov 2021-09-15 02:51:11 +03:00
  • aebcb9792d Update documentation of visit_by_index feature/visit-by-index Peter Dimov 2021-09-15 02:00:33 +03:00
  • 8fd9f830a9 Add proper type deduction to visit_by_index Peter Dimov 2021-09-15 01:30:09 +03:00
  • ed4bebff3d Document visit_by_index Peter Dimov 2021-09-14 21:32:57 +03:00
  • ad06c9b923 Add visit_by_index Peter Dimov 2021-09-14 21:06:01 +03:00
  • de4eb8b6d2 Update README.md Peter Dimov 2021-09-11 19:47:34 +03:00
  • 4d69db1441 Extend g++-10 workarounds to 11 feature/unsafe-get Peter Dimov 2021-09-11 19:23:39 +03:00
  • 095d9770c4 Update ci.yml Peter Dimov 2021-09-11 18:36:43 +03:00
  • cca476fbbc Update documentation Peter Dimov 2021-09-11 18:29:17 +03:00
  • c76af4d3cf Update README.md Peter Dimov 2021-09-11 18:26:28 +03:00
  • 1af7b165cf BOOST_VARIANT2_CX14_ASSERT must be empty under C++11 Peter Dimov 2021-09-11 18:22:46 +03:00
  • 49bff72be0 Define and use a helper macro BOOST_VARIANT2_CX14_ASSERT in constexpr functions Peter Dimov 2021-09-11 18:11:17 +03:00
  • 59780ba08e Only assert when C++14 Peter Dimov 2021-09-11 18:00:29 +03:00
  • edd70cfd66 Update ci.yml Peter Dimov 2021-09-11 17:43:05 +03:00
  • 86c2782dff Update documentation Peter Dimov 2021-09-11 17:39:55 +03:00
  • dce8174550 Make unsafe_get public Peter Dimov 2021-09-11 17:29:21 +03:00
  • 9d40bc80f1 Use BOOST_ASSERT instead of assert Peter Dimov 2021-09-11 17:23:29 +03:00
  • be6ddf9fdc Add boost/variant2.hpp Peter Dimov 2021-09-11 17:19:09 +03:00
  • 4153a535a0 Update .github/workflows boost-1.77.0.beta1 boost-1.77.0 Peter Dimov 2021-04-19 20:37:12 +03:00
  • f374ad68a3 Add -DBUILD_TESTING=ON to .yml files; it's not default anymore Peter Dimov 2021-03-19 04:18:08 +02:00
  • 3bc9a57c9b Merge branch 'feature/issue-26' into develop Peter Dimov 2021-03-13 18:23:39 +02:00
  • 3ca95a65df Use boost::hash in hash_value, not std::hash (closes #27) feature/hash Peter Dimov 2021-03-13 05:08:03 +02:00
  • ae1f72671e Add test for types supported by boost::hash, but not by std::hash Peter Dimov 2021-03-13 04:50:01 +02:00
  • a2dab8c7d3 Refactor detail::hash_value_L Peter Dimov 2021-03-13 04:10:41 +02:00
  • f39a71ed2f Merge branch 'feature/issue-26-nofix' into feature/issue-26 feature/issue-26 Peter Dimov 2021-03-13 01:09:46 +02:00
  • 06dde96400 Merge branch 'develop' into feature/issue-26-nofix feature/issue-26-nofix Peter Dimov 2021-03-13 01:09:17 +02:00
  • 8be0a4a5fe Update copyright feature/travis-clang-bionic Peter Dimov 2021-03-12 23:42:32 +02:00
  • 90cda5339f Disable U&& constructor for derived types Peter Dimov 2021-03-12 23:40:14 +02:00
  • afb0aafd64 Change clangs to bionic Peter Dimov 2021-03-12 20:18:24 +02:00
  • f586dc8848 Add test for inherited constructors (refs #26) Peter Dimov 2021-03-12 20:15:09 +02:00
  • 20b9175932 Add cxxstd=latest to Appveyor boost-1.76.0.beta1 boost-1.76.0 feature/monostate-eq-cx Peter Dimov 2021-03-08 04:04:35 +02:00
  • fb3ce863ff Add MSVC workaround for monospace constexpr (refs #25) Peter Dimov 2021-03-08 03:26:40 +02:00
  • 8ec0bf448a Add monospace relational tests (refs #25) Peter Dimov 2021-03-08 03:01:21 +02:00
  • 6d19e6be68 Update revision history Peter Dimov 2021-03-07 00:51:28 +02:00
  • d8552b23ae UBSan on clang 7 is broken on Ubuntu Peter Dimov 2021-03-01 06:35:38 +02:00
  • f44aba09a2 Update .travis.yml Peter Dimov 2021-03-01 00:26:43 +02:00
  • 99cc1db385 Fix documentation for emplace effects Peter Dimov 2021-01-25 03:49:42 +02:00
  • 6d848c5af6 Update GCC workarounds in constexpr in-place construct tests Peter Dimov 2021-01-25 03:44:24 +02:00
  • 3c9f4e56bf Fix visit codegen regression when NDEBUG is not defined feature/double-opt Peter Dimov 2021-01-24 17:27:24 +02:00
  • 3015e56bcb GCC bug 63707 has been fixed for GCC 11 Peter Dimov 2021-01-23 20:36:12 +02:00
  • 7c37053950 Merge branch 'develop' into feature/double-opt Peter Dimov 2021-01-13 05:06:00 +02:00
  • 60995edb41 Remove g++ 4.7 from GHA Peter Dimov 2021-01-13 05:01:44 +02:00
  • a3d35e61fe g++ 4.7 doesn't have std::is_trivially_destructible feature/gcc47 Peter Dimov 2021-01-13 04:51:27 +02:00
  • 84a2c175d0 Use variant=release for variant_visit_r under g++/windows Peter Dimov 2021-01-13 04:44:56 +02:00
  • ea3268feb4 Add .github/workflows Peter Dimov 2021-01-13 04:19:15 +02:00
  • 6de876954a Merge branch 'develop' into feature/double-opt Peter Dimov 2021-01-13 02:32:32 +02:00
  • efc1d5acca Add more tests to variant_emplace_index.cpp Peter Dimov 2021-01-13 02:32:05 +02:00
  • 453b00dec8 Use (i+1)*2+j for the internal index in the double-buffered case, to avoid branches Peter Dimov 2021-01-13 02:10:12 +02:00
  • c6186e0a95 Merge pull request #22 from eldiener/develop Peter Dimov 2020-12-16 18:45:01 +02:00
  • 24ccee2104 Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries whose minumum C++ standard compilation level is C++11 on up. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. Edward Diener 2020-12-16 01:45:24 -05:00
  • 93b8618e94 Update maintainer e-mail Peter Dimov 2020-12-12 01:08:09 +02:00
  • 1ebc29aa02 Remove boost_install call from CMakeLists.txt boost-1.75.0.beta1 boost-1.75.0 boost-1.74.0.beta1 boost-1.74.0 feature/update-cmake Peter Dimov 2020-06-11 17:21:57 +03:00
  • d3db874762 Document visit<R> feature/visit-r Peter Dimov 2020-06-03 18:01:57 +03:00
  • 5586ebaa64 Add support for visit<R> Peter Dimov 2020-06-03 17:00:13 +03:00
  • bede3777a8 Add test for nullary visit Peter Dimov 2020-06-03 14:29:24 +03:00
  • b302dd5912 Update changelog Peter Dimov 2020-05-22 17:57:29 +03:00
  • 2ad6fed07a Update revision history feature/many-types Peter Dimov 2020-05-10 19:34:12 +03:00
  • 84ea994325 Add specialization for variant_storage_impl<mp_false, ...> Peter Dimov 2020-05-09 19:56:27 +03:00
  • 465e5bac3d Add specialization for variant_storage_impl<mp_true, ...> to reduce instantiations Peter Dimov 2020-05-09 18:14:12 +03:00
  • 41829b0fb1 test/variant_many_types: cosmetic fixes Peter Dimov 2020-05-09 17:55:42 +03:00
  • b57d75ff80 Merge branch 'develop' into feature/many-types Peter Dimov 2020-05-09 14:41:29 +03:00
  • 03019860df Fix gcc-10 version check feature/gcc-10 Peter Dimov 2020-05-09 05:10:28 +03:00
  • 8ec4720d2d Merge branch 'feature/clang-10' into feature/gcc-10 Peter Dimov 2020-05-09 05:09:11 +03:00
  • 75f574fc48 Move warning suppression before the includes 1753938309942050682/tmp_refs/heads/feature/clang-10 1753938309942050682/feature/clang-10 feature/clang-10 Peter Dimov 2020-05-09 04:42:27 +03:00
  • 1d79adfca0 Add gcc-10 to Travis Peter Dimov 2020-05-08 23:31:54 +03:00
  • fa92e40b35 Disable failing constexpr tests on g++ 10.1 Peter Dimov 2020-05-09 04:31:26 +03:00
  • a403f82691 Disable -Wdeprecated-volatile Peter Dimov 2020-05-09 03:57:27 +03:00
  • a7d0da59ad Add clang-10 to Travis Peter Dimov 2020-05-08 23:23:50 +03:00
  • fa872cb835 test/variant_many_types: add a constructor to Y Peter Dimov 2020-05-08 23:23:19 +03:00
  • 93204676f5 Add test/variant_many_types Peter Dimov 2020-05-08 22:22:49 +03:00
  • 772ef0d312 Support derived types in visit feature/visit-derived Peter Dimov 2020-05-06 20:11:03 +03:00
  • f3b3b533aa Remove local mp_power_set implementation, as it's now in mp11 boost-1.73.0.beta1 boost-1.73.0 Peter Dimov 2020-03-20 02:26:01 +02:00
  • 4b60dee4b6 Avoid gcc warning 'base class should be explicitly initialized in copy constructor' feature/warnings-extra Peter Dimov 2020-02-01 01:18:40 +02:00
  • 76c67c9b21 Use <warnings>extra instead of all Peter Dimov 2020-01-31 23:59:00 +02:00
  • 308bd731a5 Update documentation feature/trivial Peter Dimov 2020-01-23 21:17:49 +02:00
  • 719c43316f Disable is_copy_constructible tests on gcc 4.x Peter Dimov 2020-01-23 19:13:11 +02:00
  • d6680df4e5 Add a test case to test/variant_copy_construct Peter Dimov 2020-01-23 18:33:39 +02:00
  • 8cf72527a6 Revert incorrect changes in test/variant_trivial Peter Dimov 2020-01-23 18:09:01 +02:00
  • b649a39776 Check std::is_copy_constructible in test/variant_copy_construct Peter Dimov 2020-01-23 17:38:03 +02:00
  • 37f6efab5d Fix typo Peter Dimov 2020-01-23 17:34:36 +02:00
  • 5259bdd5fc Disable move triviality tests on libstdc++ 4.x Peter Dimov 2020-01-23 17:22:45 +02:00
  • 9964e77dd2 Add clang++/trusty to Travis (libstdc++ 4.8) Peter Dimov 2020-01-23 15:50:45 +02:00
  • 57ab36bd95 Add test/variant_special Peter Dimov 2020-01-23 15:24:32 +02:00
  • fac5992e45 Add test/variant_trivial Peter Dimov 2020-01-23 03:53:05 +02:00
  • 972280e59f Remove commented-out variant_copy_base Peter Dimov 2020-01-23 01:08:32 +02:00
  • ef2ef292b9 The msvc-14.0 workarounds are no longer needed Peter Dimov 2020-01-22 20:14:11 +02:00
  • 3b2fb1a48a Split variant_copy_base into separate cc/ca/mc/ma bases; avoids multiple inheritance, which is a penalty in the MS ABI Peter Dimov 2020-01-22 19:59:59 +02:00
  • 4f81882bfd Explicitly disable move constructor when needed Peter Dimov 2020-01-22 18:30:36 +02:00
  • 17bc06b090 Apply msvc-14.0 workarounds Peter Dimov 2020-01-22 17:38:45 +02:00
  • c4cad3e96a Use an intermediate trivial base for trivial variants Peter Dimov 2020-01-22 17:09:15 +02:00
  • 83ff667813 Remove stray compiler: g++ Peter Dimov 2020-01-21 02:22:17 +02:00
  • 5e76451843 Use BOOST_INCLUDE_LIBRARIES=variant2 in the CMake install test Peter Dimov 2020-01-21 00:43:15 +02:00
  • c2b5d101eb Update revision history Peter Dimov 2020-01-11 15:22:13 +02:00
  • a92185a86d Add Boost::container_hash to LINK_LIBRARIES Peter Dimov 2020-01-11 06:54:23 +02:00
  • a795f9cf01 Add missing inline Peter Dimov 2020-01-11 06:41:21 +02:00
  • f6e2e78d7d Libc++ doesn't implement a primary std::hash template under C++11 Peter Dimov 2020-01-11 06:31:45 +02:00
  • 1f05cdfb17 Include <functional>, for g++ trunk (10.0) Peter Dimov 2020-01-11 06:06:54 +02:00
  • 1203aa97c0 Add g++ 4.8 to Travis Peter Dimov 2020-01-11 05:29:07 +02:00