Commit Graph
63 Commits
Author SHA1 Message Date
Peter Dimov acf24454d8 Update build.jam, test/Jamfile 2024-08-28 20:28:59 +03:00
Rene Rivera fc088e7273 Change all <source> references to <library>. 2024-07-20 21:27:52 -05:00
Rene Rivera 429a82a52e Sync from upstream. 2024-05-19 23:15:27 -05:00
Peter Dimov f9bdafd3ca Remove C++11 requirements from test/Jamfile 2024-05-18 03:18:56 +03:00
Rene Rivera 1324e32b33 Add missing import-search for cconfig/predef checks. 2024-05-04 23:33:36 -05:00
Rene Rivera 02303d662e Sync from upstream. 2024-04-10 07:58:16 -05:00
Peter Dimov a936eae01b Add test/variant_derived_construct2. Refs #43. 2024-03-24 18:41:49 +02:00
Rene Rivera 5c34125b14 Make the library modular usable. 2024-03-11 08:38:17 -05:00
Peter Dimov 30afb9e183 Update test/Jamfile to fix Drone issues 2023-06-29 09:54:49 +03:00
Peter Dimov 26595285d3 Add variant<>::uses_double_storage(). Refs #37. 2023-06-28 22:14:56 +03:00
Peter Dimov 67a12199e6 Add JSON support (refs #28) 2022-10-18 06:08:18 +03:00
Peter Dimov 3fc7540733 Only define operator<< when all contained types are streamable (refs #31) 2021-12-09 18:39:03 +02:00
Peter Dimov e668c099ce Add operator<< for variant 2021-09-15 02:51:11 +03:00
Peter Dimov ad06c9b923 Add visit_by_index 2021-09-14 21:06:01 +03:00
Peter Dimov f586dc8848 Add test for inherited constructors (refs #26) 2021-03-12 20:15:09 +02:00
Peter Dimov 84a2c175d0 Use variant=release for variant_visit_r under g++/windows 2021-01-13 04:44:56 +02:00
Peter Dimov 5586ebaa64 Add support for visit<R> 2020-06-03 17:00:13 +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 76c67c9b21 Use <warnings>extra instead of all 2020-01-31 23:59:00 +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 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 f5d9662946 Support -fno-exceptions 2019-06-03 02:46:59 +03: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 fdfe9df167 Do not trivially copy/move assign when not trivially copy/move constructible 2019-03-03 05:14:51 +02:00
Peter Dimov 2f376da1c2 Add throwing copy/move/convert tests 2019-02-26 14:26:59 +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 4c2c30b3c6 Remove hdr_type_traits requirement 2018-10-18 08:48:08 +03:00
Peter Dimov 90cc6b7374 Port to C++11 2018-10-18 07:19:45 +03:00
Peter Dimov bdd1e2c889 Update test/Jamfile 2018-10-18 04:29:03 +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 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 26c1f716ec Add test/variant_lt_gt 2017-06-02 00:44:20 +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 8301228e22 Add test/variant_eq_ne 2017-05-31 04:02:23 +03:00