Commit Graph

64 Commits

Author SHA1 Message Date
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
Peter Dimov
0408c8c16a is_trivially_move_assignable doesn't exist in libstdc++ 4.x 2018-10-18 17:10:12 +03:00
Peter Dimov
4c2c30b3c6 Remove hdr_type_traits requirement 2018-10-18 08:48:08 +03:00
Peter Dimov
25ff2e77d4 Disable warning 2018-10-18 07:33:46 +03:00
Peter Dimov
1f0c9b7151 Untabify 2018-10-18 07:28:52 +03:00
Peter Dimov
90cc6b7374 Port to C++11 2018-10-18 07:19:45 +03:00
Peter Dimov
38b20dd503 Expand get_by_index, get_by_type tests 2018-10-18 07:18:13 +03:00
Peter Dimov
bdd1e2c889 Update test/Jamfile 2018-10-18 04:29:03 +03:00
Peter Dimov
46ee0af110 Remove valueless; monostate is enough 2018-10-18 03:32:57 +03:00
Peter Dimov
81023c3569 Add requirements to test/Jamfile 2017-07-04 14:39:36 +03:00
Peter Dimov
4de9f80487 Require valueless to be first, add test 2017-06-14 01:04:36 +03:00
Peter Dimov
82104cd55e constexpr the copy/move constructors; change copy/move assign to not require constexpr lambdas 2017-06-09 17:24:23 +03:00
Peter Dimov
f216bb5c1f Add test/variant_move_assign_cx 2017-06-09 15:13:36 +03:00
Peter Dimov
6545dc3d10 Add test/variant_copy_assign_cx 2017-06-09 15:09:42 +03:00
Peter Dimov
72c16ccee1 Add test/variant_value_assign_cx 2017-06-09 14:58:49 +03:00
Peter Dimov
870dcee0a8 Fix tests accordingly 2017-06-09 05:29:22 +03:00
Peter Dimov
0997734e5c Make emplace constexpr 2017-06-09 02:05:34 +03:00
Peter Dimov
369781b623 Add test/variant_subset 2017-06-03 00:27:52 +03:00
Peter Dimov
241f41121e Add test/variant_convert_construct 2017-06-03 00:11:33 +03:00
Peter Dimov
bdd449ae6a get_if should return 0 when passed 0 2017-06-02 22:11:29 +03:00
Peter Dimov
f4f949fc2f Add converting constructors, subset<U...>() 2017-06-02 05:14:40 +03:00
Peter Dimov
26c1f716ec Add test/variant_lt_gt 2017-06-02 00:44:20 +03:00
Peter Dimov
77e8c46074 Fix return type of visit() to properly take cv& into account 2017-06-01 19:24:50 +03:00
Peter Dimov
6ad3e2fd12 Rename tests 2017-06-01 02:03:35 +03:00
Peter Dimov
db565aaa73 Implement visit 2017-06-01 01:48:38 +03:00
Peter Dimov
89e3588c9b Add test/variant_destroy 2017-05-31 20:48:17 +03:00
Peter Dimov
7d25e131be Add SFINAE conditions 2017-05-31 07:42:45 +03:00
Peter Dimov
755bc60c2b Add initializer list support 2017-05-31 04:19:40 +03:00