Commit Graph

199 Commits

Author SHA1 Message Date
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
30d974d0fc Fix exception safety issue in copy/move/converting constructor 2019-02-26 15:12:37 +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
f05837061a Add benchmark2.md 2019-02-25 19:42:31 +02:00
Peter Dimov
3d946ecb71 Add benchmark2.cpp 2019-02-25 18:59:49 +02:00
Peter Dimov
8756a07f9a Add clang results 2019-02-25 02:48:08 +02:00
Peter Dimov
48c8145b4d Add benchmark1.cpp 2019-02-25 02:17:10 +02:00
Peter Dimov
8bbd6f238a
Fix godbolt link in README 2019-02-22 22:04:33 +02:00
Peter Dimov
1b62998c96 Add index.html 2019-02-22 19:21:04 +02:00
Peter Dimov
8a7cc12716 Add html/ 2019-02-22 19:19:36 +02:00
Peter Dimov
b97a92c963 Rename to variant2 2019-02-22 19:19:03 +02:00
Peter Dimov
ea2e8d2cf6 Remove html/ from .gitignore 2019-02-22 19:10:48 +02:00
Peter Dimov
2ea2ff915b Fix documentation of get_if 2019-02-22 12:27:53 +02:00
Peter Dimov
d6d1cbd9fe Merge branch 'feature/more-travis' into feature/unsafe-get 2019-02-22 03:41:06 +02:00
Peter Dimov
f4d852e5ab Define detail::unsafe_get, use it in visit 2019-02-22 03:21:56 +02:00
Peter Dimov
89c58a9b83 Add clang 7 to Travis, test c++2a 2019-02-22 02:58:33 +02:00
Peter Dimov
831231a8b3 Merge branch 'feature/copy_cv_ref' into develop 2019-02-22 02:46:02 +02:00
Peter Dimov
4c8b0d2dee Document reference specializations of variant_size, variant_alternative 2019-02-22 02:07:47 +02:00
Peter Dimov
a0b499bc3b Use copy_cv_ref in apply_cv_ref instead of variant_alternative_t 2019-02-22 01:57:09 +02:00
Peter Dimov
c1287f9e95 Fix variant_alternative for g++ 4.8 2019-02-21 23:06:24 +02:00
Peter Dimov
34933c35bd Use variant_alternative_t directly for references 2019-02-21 22:42:21 +02:00
Peter Dimov
d8cd270268 Add reference specializations to variant_alternative 2019-02-21 22:22:07 +02:00
Peter Dimov
87a2e88edb Use variant_size directly with references 2019-02-21 22:03:56 +02:00
Peter Dimov
cf3ea64b45 Add reference specializations to variant_size 2019-02-21 21:57:39 +02:00
Peter Dimov
f67a6bd2ae Remove variant2:: qualifications, detail is no longer ambiguous 2019-02-21 21:40:06 +02:00
Peter Dimov
f3e101a841 Remove using namespace boost::mp11 2019-02-21 20:37:20 +02:00
Peter Dimov
5911e80f4f Update documentation 2019-02-21 06:42:06 +02:00
Peter Dimov
24fae0f542 Fix SFINAE conditions on emplace<U> 2019-02-18 20:40:17 +02:00
Peter Dimov
8f2ef7ddc1 Fix line indent 2019-02-18 20:00:02 +02:00
Peter Dimov
58709c2922 Change mp_invoke to mp_invoke_q 2019-02-18 19:58:20 +02:00
Peter Dimov
16027c5447 Add to documentation 2019-02-18 19:51:23 +02:00
Peter Dimov
3fb89b9f5a Merge branch 'develop' into feature/doc 2018-10-25 02:56:49 +03: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
7c7779621f Initial documentation commit (WIP) 2018-10-24 18:34:17 +03:00
Peter Dimov
f14228d996 Minor README fixes 2018-10-19 01:24:26 +03:00
Peter Dimov
3fb00763cb Fix typos 2018-10-18 20:24:06 +03:00
Peter Dimov
ebc8959049 Update README 2018-10-18 19:55:15 +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
24d7f83403 Rewrite variant_alternative for g++ 4.8 2018-10-18 18:33:22 +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
c6f441f9f2 Finish C++11 port 2018-10-18 08:41:37 +03:00
Peter Dimov
4878a5b87c Enable msvc-14.0 2018-10-18 07:43:50 +03:00
Peter Dimov
25ff2e77d4 Disable warning 2018-10-18 07:33:46 +03:00