Commit Graph

667 Commits

Author SHA1 Message Date
Marcel Raad
5e8814db76
Fix warning in warning suppression code
MSVC complained that this expression had no effect. Cast to void to
silence the warning.
2017-07-13 16:17:25 +02:00
Antony Polukhin
15689b8e4f Merge pull request #35 from very-cool-name/fix_joint_view
Fix joint view
2017-07-07 10:54:44 +03:00
Mike Maximoff
a904c0ebbc make_variant_over does not revert type sequence. Added tests using variant.which(). 2017-07-06 12:38:34 +03:00
very-cool-name
b2339c4c8d Merge branch 'develop' into fix_joint_view 2017-07-04 21:02:16 +03:00
Mike Maximoff
8bf53ce9dd Variadic templates make_variant_over still needs copying t work properly. Removed specialization. 2017-07-04 18:35:35 +03:00
Mike Maximoff
ad50a55c65 Merge branch 'develop' into fix_joint_view
# Conflicts:
#	include/boost/variant/variant.hpp
2017-07-04 18:12:40 +03:00
Mike Maximoff
1adb0b7f3a Fix works with mpl::list instead of mpl::vector 2017-07-04 17:44:11 +03:00
Daniela Engert
6c2c2fd506 Silence msvc compiler warnings about constant conditional expressions, returning the adress of local variables, and unused formal parameters.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-06-08 19:10:43 +02:00
Antony Polukhin
d393d391b8 Uppdated the reference sections for the get* functions 2017-06-05 23:13:28 +03:00
Antony Polukhin
b108cfb82a Merge pull request #33 from ASverdlov/develop
Add rvalue get<>() support + tests.
2017-05-30 23:36:55 +03:00
Albert Sverdlov
5b61db29a3 Remove unnecessary variable 2017-05-29 20:37:59 +03:00
Albert Sverdlov
33f9fd4d51 Remove # symbol 2017-05-29 18:42:56 +03:00
Albert Sverdlov
f62f657d4e Fix tests; Fix copyright; Remove unnecessary mpl::not 2017-05-29 18:42:25 +03:00
Albert Sverdlov
c46ede5c1a Restore empty comment line 2017-05-26 02:57:21 +03:00
Albert Sverdlov
1cc3765061 Handle get<U&>() case; Add tests 2017-05-26 02:54:28 +03:00
Albert Sverdlov
5c3bd61de8 Add rvalue get<> 2017-05-23 17:07:26 +03:00
Antony Polukhin
9851ea7e69 Fixed formatting in README 2017-05-19 21:52:04 +03:00
Antony Polukhin
575c5796b4 Merge remote-tracking branch 'adambadura/master' into develop 2017-05-19 21:51:05 +03:00
Adam Badura
76b592ae1f Solution for ticket 13037 (https://svn.boost.org/trac/boost/ticket/13037).
Missing include of <boost/type_traits/is_const.hpp> added in
<boost/variant/polymorphic_get.hpp>.
2017-05-19 08:50:09 +02:00
Antony Polukhin
eebee81acf Speedup AppveyorCI builds 2017-05-18 23:23:28 +03:00
Antony Polukhin
a0e8a7f831 Merge pull request #31 from boostorg/revert-30-fix_joint_view
Revert "unpack types from mpl::joint_view for make_variant_over function (tra…"
2017-04-23 09:18:15 +03:00
Antony Polukhin
872c734eea Revert "unpack types from mpl::joint_view for make_variant_over function (tra…" 2017-04-23 09:17:10 +03:00
Antony Polukhin
d9626aef6f Updated AppveyorCI script 2017-04-22 20:59:12 +03:00
Antony Polukhin
5f30dc2d2e Merge pull request #30 from very-cool-name/fix_joint_view
unpack types from mpl::joint_view for make_variant_over function (tra…
2017-04-22 09:04:09 +03:00
Mike Maximoff
caf6264c58 Added test of related issue with mpl::set (trac #10041) 2017-03-19 23:06:26 +03:00
Mike Maximoff
f015b13890 More generic solution to support more typed of sequences and variadic template solution to speed up compilation 2017-03-19 22:40:14 +03:00
Mike Maximoff
bf0ab5ff84 unpack types from mpl::joint_view for make_variant_over function (trac #8554) 2017-03-15 21:16:47 +03:00
Antony Polukhin
215704dfb3 Run MinGW tests too (thanks to Pavel Filinov for showing that appveyor ability) 2017-02-24 08:22:01 +03:00
Antony Polukhin
fc7a665272 Make polymorphic_*get work as *get in undocumented border cases and fix tests (trac 11950) 2017-02-02 22:19:37 +03:00
Antony Polukhin
82f0ef1c1a Fix issue: recursive_wrapper is not nothrow move constructible 2017-01-22 12:29:58 +03:00
Antony Polukhin
fd2a03827f Do not depend on std::array 2017-01-20 22:22:41 +03:00
Antony Polukhin
fbad41fb90 Added test case from trac ticket 7120 2017-01-20 22:21:49 +03:00
Antony Polukhin
90464a57f2 Revert variadic templates for MSVC (it still has issues) 2017-01-19 01:26:46 +03:00
Antony Polukhin
0e489993d3 Enabling variadic templates for MSVC2015Upade1 - typo fix again (trac 12236) 2017-01-19 01:07:47 +03:00
Antony Polukhin
bc01e92c25 Enabling variadic templates for MSVC2015Upade1 - typo fix (trac 12236) 2017-01-19 00:39:23 +03:00
Antony Polukhin
ce1ae2d2d4 Enabling variadic templates for MSVC2015Upade1 (trac 12236) 2017-01-18 22:46:53 +03:00
Antony Polukhin
761f634e72 Merge pull request #29 from awulkiew/patch-1
Add missing space between > > in is_nothrow_move_constructible specialization.
2017-01-14 12:17:37 +04:00
Adam Wulkiewicz
ef7012b359 Add missing space between > > in is_nothrow_move_constructible specialization. 2017-01-14 03:05:01 +01:00
Antony Polukhin
217ee7f9ff Merge pull request #28 from very-cool-name/fix_gcc6_crash
Fix gcc 6 fail, when it tries to determine whether recursive_wrapper …
2017-01-14 02:24:58 +04:00
Mike Maximoff
effbf189b6 Used __cpp_inheriting_constructors as guard. Fixed unused variable warnings. 2017-01-13 23:46:08 +03:00
Mike Maximoff
ec27e4deb7 Fix gcc 6 fail, when it tries to determine whether recursive_wrapper is_nothrow_move_constructible (trac #12680) 2017-01-12 14:18:49 +03:00
Antony Polukhin
e0b65c01a8 Merge pull request #27 from very-cool-name/fix_recursive_variant_
Fixed forbidden construction of variant from recursive_variant_ (trac…
2016-12-21 23:43:30 +04:00
Mike Maximoff
65d1fb524b Tests hash_recursive_variant only on compilers with unordered_set and template aliases. Copyright and original trac issues added. 2016-12-21 14:25:02 +03:00
Mike Maximoff
3aacf56026 Fixed forbidden construction of variant from recursive_variant_ (trac #12508, #12645) 2016-12-20 13:57:08 +03:00
Antony Polukhin
f739850467 Fix coverage info gathering in travisCI script for GCC-6 2016-12-04 02:23:08 +03:00
Antony Polukhin
bc54fbb10e Fixing coverage collection in travis script 2016-12-03 22:18:26 +03:00
Antony Polukhin
6655e8c11f Updated CI scripts 2016-11-19 18:35:53 +03:00
Rene Rivera
34036da7dc Add, and update, documentation build targets. 2016-10-07 23:07:37 -05:00
Antony Polukhin
fac387ae38 MMore fixes for noreturn 2016-09-06 08:57:43 +03:00
Antony Polukhin
9342505270 Use std::abort in forced_return() to leverage [[noreturn]] attribute, improve generated code and fix warnings 2016-09-03 11:55:03 +03:00