Commit Graph

107 Commits

Author SHA1 Message Date
5e2bce1baa Add operator<< for monostate 2022-01-31 17:55:26 +02:00
3fc7540733 Only define operator<< when all contained types are streamable (refs #31) 2021-12-09 18:39:03 +02:00
e4b4b3f02b Extend msvc-14.2 workaround to 14.3 2021-10-29 02:18:23 +03:00
8af1fbde8e Update cmake_subdir_test/CMakeLists.txt 2021-09-21 14:52:38 +03:00
e668c099ce Add operator<< for variant 2021-09-15 02:51:11 +03:00
8fd9f830a9 Add proper type deduction to visit_by_index 2021-09-15 01:30:09 +03:00
ad06c9b923 Add visit_by_index 2021-09-14 21:06:01 +03:00
4d69db1441 Extend g++-10 workarounds to 11 2021-09-11 19:23:39 +03:00
be6ddf9fdc Add boost/variant2.hpp 2021-09-11 17:19:09 +03:00
3bc9a57c9b Merge branch 'feature/issue-26' into develop 2021-03-13 18:23:39 +02:00
ae1f72671e Add test for types supported by boost::hash, but not by std::hash 2021-03-13 04:50:01 +02:00
f586dc8848 Add test for inherited constructors (refs #26) 2021-03-12 20:15:09 +02:00
8ec0bf448a Add monospace relational tests (refs #25) 2021-03-08 03:01:21 +02:00
6d848c5af6 Update GCC workarounds in constexpr in-place construct tests 2021-01-25 03:44:24 +02:00
84a2c175d0 Use variant=release for variant_visit_r under g++/windows 2021-01-13 04:44:56 +02:00
efc1d5acca Add more tests to variant_emplace_index.cpp 2021-01-13 02:32:05 +02:00
5586ebaa64 Add support for visit<R> 2020-06-03 17:00:13 +03:00
bede3777a8 Add test for nullary visit 2020-06-03 14:29:24 +03:00
41829b0fb1 test/variant_many_types: cosmetic fixes 2020-05-09 17:55:42 +03:00
b57d75ff80 Merge branch 'develop' into feature/many-types 2020-05-09 14:41:29 +03:00
03019860df Fix gcc-10 version check 2020-05-09 05:10:28 +03:00
8ec4720d2d Merge branch 'feature/clang-10' into feature/gcc-10 2020-05-09 05:09:11 +03:00
75f574fc48 Move warning suppression before the includes 2020-05-09 04:42:27 +03:00
fa92e40b35 Disable failing constexpr tests on g++ 10.1 2020-05-09 04:31:26 +03:00
a403f82691 Disable -Wdeprecated-volatile 2020-05-09 03:57:27 +03:00
fa872cb835 test/variant_many_types: add a constructor to Y 2020-05-08 23:23:19 +03:00
93204676f5 Add test/variant_many_types 2020-05-08 22:22:49 +03:00
772ef0d312 Support derived types in visit 2020-05-06 20:11:03 +03:00
f3b3b533aa Remove local mp_power_set implementation, as it's now in mp11 2020-03-20 02:26:01 +02:00
76c67c9b21 Use <warnings>extra instead of all 2020-01-31 23:59:00 +02:00
719c43316f Disable is_copy_constructible tests on gcc 4.x 2020-01-23 19:13:11 +02:00
d6680df4e5 Add a test case to test/variant_copy_construct 2020-01-23 18:33:39 +02:00
8cf72527a6 Revert incorrect changes in test/variant_trivial 2020-01-23 18:09:01 +02:00
b649a39776 Check std::is_copy_constructible in test/variant_copy_construct 2020-01-23 17:38:03 +02:00
37f6efab5d Fix typo 2020-01-23 17:34:36 +02:00
5259bdd5fc Disable move triviality tests on libstdc++ 4.x 2020-01-23 17:22:45 +02:00
57ab36bd95 Add test/variant_special 2020-01-23 15:24:32 +02:00
fac5992e45 Add test/variant_trivial 2020-01-23 03:53:05 +02:00
17bc06b090 Apply msvc-14.0 workarounds 2020-01-22 17:38:45 +02:00
a92185a86d Add Boost::container_hash to LINK_LIBRARIES 2020-01-11 06:54:23 +02:00
f6e2e78d7d Libc++ doesn't implement a primary std::hash template under C++11 2020-01-11 06:31:45 +02:00
fece11142c Add hashing support 2020-01-11 04:51:30 +02:00
58b4a21deb Add CMake tests 2020-01-09 17:43:54 +02:00
bc73c4b822 Fix return code of quick.cpp 2019-06-03 18:48:13 +03:00
566bde5fcc Add CMakeLists.txt 2019-06-03 17:50:13 +03:00
2738f081cd Include boost/config.hpp for ::gets workaround on clang 3.8, 3.9 2019-06-03 15:43:43 +03:00
f5d9662946 Support -fno-exceptions 2019-06-03 02:46:59 +03:00
c3f9beaadc Strong guarantee on emplace 2019-05-12 00:38:21 +03:00
2d6385031e Fix emplace for types with a deleted move constructor (in the not trivially destructible case) 2019-04-09 19:22:04 +03:00
9f7e525984 Fix emplace for types with a deleted move constructor (in the trivially destructible case) 2019-04-09 18:28:18 +03:00