Commit Graph

253 Commits

Author SHA1 Message Date
Peter Dimov
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 2020-06-11 17:21:57 +03:00
Peter Dimov
d3db874762 Document visit<R> 2020-06-03 18:01:57 +03:00
Peter Dimov
5586ebaa64 Add support for visit<R> 2020-06-03 17:00:13 +03:00
Peter Dimov
bede3777a8 Add test for nullary visit 2020-06-03 14:29:24 +03:00
Peter Dimov
b302dd5912 Update changelog 2020-05-22 17:57:29 +03:00
Peter Dimov
2ad6fed07a Update revision history 2020-05-10 19:34:12 +03:00
Peter Dimov
84ea994325 Add specialization for variant_storage_impl<mp_false, ...> 2020-05-09 19:56:27 +03:00
Peter Dimov
465e5bac3d Add specialization for variant_storage_impl<mp_true, ...> to reduce instantiations 2020-05-09 18:14:12 +03:00
Peter Dimov
41829b0fb1 test/variant_many_types: cosmetic fixes 2020-05-09 17:55:42 +03:00
Peter Dimov
b57d75ff80 Merge branch 'develop' into feature/many-types 2020-05-09 14:41:29 +03:00
Peter Dimov
03019860df Fix gcc-10 version check 2020-05-09 05:10:28 +03:00
Peter Dimov
8ec4720d2d Merge branch 'feature/clang-10' into feature/gcc-10 2020-05-09 05:09:11 +03:00
Peter Dimov
75f574fc48 Move warning suppression before the includes 2020-05-09 04:42:27 +03:00
Peter Dimov
1d79adfca0 Add gcc-10 to Travis 2020-05-09 04:32:11 +03:00
Peter Dimov
fa92e40b35 Disable failing constexpr tests on g++ 10.1 2020-05-09 04:31:26 +03:00
Peter Dimov
a403f82691 Disable -Wdeprecated-volatile 2020-05-09 03:57:27 +03:00
Peter Dimov
a7d0da59ad Add clang-10 to Travis 2020-05-09 03:50:20 +03:00
Peter Dimov
fa872cb835 test/variant_many_types: add a constructor to Y 2020-05-08 23:23:19 +03:00
Peter Dimov
93204676f5 Add test/variant_many_types 2020-05-08 22:22:49 +03:00
Peter Dimov
772ef0d312 Support derived types in visit 2020-05-06 20:11:03 +03:00
Peter Dimov
f3b3b533aa Remove local mp_power_set implementation, as it's now in mp11 boost-1.73.0 boost-1.73.0.beta1 2020-03-20 02:26:01 +02:00
Peter Dimov
4b60dee4b6 Avoid gcc warning 'base class should be explicitly initialized in copy constructor' 2020-02-01 01:18:40 +02:00
Peter Dimov
76c67c9b21 Use <warnings>extra instead of all 2020-01-31 23:59:00 +02:00
Peter Dimov
308bd731a5 Update documentation 2020-01-23 21:17:49 +02:00
Peter Dimov
719c43316f Disable is_copy_constructible tests on gcc 4.x 2020-01-23 19:13:11 +02:00
Peter Dimov
d6680df4e5 Add a test case to test/variant_copy_construct 2020-01-23 18:33:39 +02:00
Peter Dimov
8cf72527a6 Revert incorrect changes in test/variant_trivial 2020-01-23 18:09:01 +02:00
Peter Dimov
b649a39776 Check std::is_copy_constructible in test/variant_copy_construct 2020-01-23 17:38:03 +02:00
Peter Dimov
37f6efab5d Fix typo 2020-01-23 17:34:36 +02:00
Peter Dimov
5259bdd5fc Disable move triviality tests on libstdc++ 4.x 2020-01-23 17:22:45 +02:00
Peter Dimov
9964e77dd2 Add clang++/trusty to Travis (libstdc++ 4.8) 2020-01-23 15:50:45 +02:00
Peter Dimov
57ab36bd95 Add test/variant_special 2020-01-23 15:24:32 +02:00
Peter Dimov
fac5992e45 Add test/variant_trivial 2020-01-23 03:53:05 +02:00
Peter Dimov
972280e59f Remove commented-out variant_copy_base 2020-01-23 01:08:32 +02:00
Peter Dimov
ef2ef292b9 The msvc-14.0 workarounds are no longer needed 2020-01-22 20:14:11 +02:00
Peter Dimov
3b2fb1a48a Split variant_copy_base into separate cc/ca/mc/ma bases; avoids multiple inheritance, which is a penalty in the MS ABI 2020-01-22 19:59:59 +02:00
Peter Dimov
4f81882bfd Explicitly disable move constructor when needed 2020-01-22 18:30:36 +02:00
Peter Dimov
17bc06b090 Apply msvc-14.0 workarounds 2020-01-22 17:38:45 +02:00
Peter Dimov
c4cad3e96a Use an intermediate trivial base for trivial variants 2020-01-22 17:09:15 +02:00
Peter Dimov
83ff667813 Remove stray compiler: g++ 2020-01-21 02:22:17 +02:00
Peter Dimov
5e76451843 Use BOOST_INCLUDE_LIBRARIES=variant2 in the CMake install test 2020-01-21 00:43:15 +02:00
Peter Dimov
c2b5d101eb Update revision history 2020-01-11 15:22:13 +02:00
Peter Dimov
a92185a86d Add Boost::container_hash to LINK_LIBRARIES 2020-01-11 06:54:23 +02:00
Peter Dimov
a795f9cf01 Add missing inline 2020-01-11 06:41:21 +02:00
Peter Dimov
f6e2e78d7d Libc++ doesn't implement a primary std::hash template under C++11 2020-01-11 06:31:45 +02:00
Peter Dimov
1f05cdfb17 Include <functional>, for g++ trunk (10.0) 2020-01-11 06:06:54 +02:00
Peter Dimov
1203aa97c0 Add g++ 4.8 to Travis 2020-01-11 05:29:07 +02:00
Peter Dimov
b3229d48b7 gcc < 7 doesn't like specializing std::hash in a different namespace 2020-01-11 05:27:57 +02:00
Peter Dimov
be11d94adc Update appveyor.yml 2020-01-11 05:10:28 +02:00
Peter Dimov
fece11142c Add hashing support 2020-01-11 04:51:30 +02:00