Commit Graph
91 Commits
Author SHA1 Message Date
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 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 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 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 2020-03-20 02:26:01 +02:00
Peter Dimov 76c67c9b21 Use <warnings>extra instead of all 2020-01-31 23:59:00 +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 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 17bc06b090 Apply msvc-14.0 workarounds 2020-01-22 17:38:45 +02:00
Peter Dimov a92185a86d Add Boost::container_hash to LINK_LIBRARIES 2020-01-11 06:54:23 +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 fece11142c Add hashing support 2020-01-11 04:51:30 +02:00
Peter Dimov 58b4a21deb Add CMake tests 2020-01-09 17:43:54 +02:00
Peter Dimov bc73c4b822 Fix return code of quick.cpp 2019-06-03 18:48:13 +03:00
Peter Dimov 566bde5fcc Add CMakeLists.txt 2019-06-03 17:50:13 +03:00
Peter Dimov 2738f081cd Include boost/config.hpp for ::gets workaround on clang 3.8, 3.9 2019-06-03 15:43:43 +03:00
Peter Dimov f5d9662946 Support -fno-exceptions 2019-06-03 02:46:59 +03:00
Peter Dimov c3f9beaadc Strong guarantee on emplace 2019-05-12 00:38:21 +03:00
Peter Dimov 2d6385031e Fix emplace for types with a deleted move constructor (in the not trivially destructible case) 2019-04-09 19:22:04 +03:00
Peter Dimov 9f7e525984 Fix emplace for types with a deleted move constructor (in the trivially destructible case) 2019-04-09 18:28:18 +03:00
Peter Dimov 1da3892239 Disable C4702 (unreachable code) for the throwing tests 2019-03-25 19:50:33 +02:00
Peter Dimov f1b1e7cade Enable warnings-as-errors in test/Jamfile 2019-03-25 17:40:20 +02:00
Peter Dimov 1c3526b3bb Add test/variant_lt_gt_cx 2019-03-06 01:09:40 +02:00
Peter Dimov 204bcce9df Make relational operators constexpr; add test/variant_eq_ne_cx.cpp 2019-03-06 00:26:55 +02:00
Peter Dimov 2f589c7814 Make default constructors of some test types noexcept 2019-03-03 15:22:22 +02:00
Peter Dimov fdfe9df167 Do not trivially copy/move assign when not trivially copy/move constructible 2019-03-03 05:14:51 +02:00
Peter Dimov 9d7a44761b Add more copy/move tests 2019-02-26 15:11:21 +02:00
Peter Dimov 2f376da1c2 Add throwing copy/move/convert tests 2019-02-26 14:26:59 +02:00
Peter Dimov d8cd270268 Add reference specializations to variant_alternative 2019-02-21 22:22:07 +02:00
Peter Dimov cf3ea64b45 Add reference specializations to variant_size 2019-02-21 21:57:39 +02:00
Peter Dimov 33f28c739f Fix test/variant_move_construct_cx.cpp 2018-10-24 19:03:00 +03:00
Peter Dimov c1d2d991b4 Fix test/variant_copy_construct_cx.cpp 2018-10-24 18:58:23 +03:00
Peter Dimov d1acc969f7 More g++ 4.8 fixes, const&& doesn't work well 2018-10-18 18:51:19 +03:00
Peter Dimov 3b1a709def &v is not a constant expression on g++ 4.x 2018-10-18 18:16:11 +03:00
Peter Dimov a13ccee145 Fix tests when X3 is not v2d::trivially_move_assignable 2018-10-18 17:46:32 +03:00
Peter Dimov 0e72d274a7 X3 is not v2d::trivially_move_assignable on libstdc++ 4.x 2018-10-18 17:26:25 +03:00