Commit Graph

667 Commits

Author SHA1 Message Date
Antony Polukhin
a6a8fc09f1 Merge pull request #25 from Kojoley/fix-noreturn-does-return-warning
Fixes `"noreturn" does return` warning in release mode. #24 follow-up
2016-09-03 12:13:38 +04:00
Nikita Kniazev
d5bb909689 Fixes "noreturn" does return warning in release mode. #24 follow-up 2016-09-02 22:17:36 +03:00
Antony Polukhin
ecb67c03a9 Merge pull request #23 from Kojoley/suppress-weak-vtables-warning
Suppress weak vtables warning
2016-08-31 22:56:50 +04:00
Antony Polukhin
889b4f2ab2 Merge pull request #24 from Kojoley/fix-missing-noreturn
Fixed missing noreturn
2016-08-31 22:56:16 +04:00
Nikita Kniazev
9a1499ff91 Fixed missing noreturn 2016-08-31 21:37:05 +03:00
Nikita Kniazev
f46206a519 Suppress weak vtables warning 2016-08-31 19:41:58 +03:00
Antony Polukhin
f43b4819b3 Merge pull request #22 from hia3/more-addressof
Use addressof in strict_get
2016-08-29 23:02:11 +04:00
sms
d1213fc419 Use addressof in strict_get 2016-08-29 18:34:24 +03:00
Antony Polukhin
ae466ff353 Added tests from pull request 21 2016-07-23 23:10:59 +03:00
Antony Polukhin
2c0ac80950 Merge pull request #21 from amedama41/develop
Suppress implicit instantiation of MPL end iterator
2016-07-21 23:34:16 +04:00
amedama41
14be0f4555 Suppress implicit instantiation of MPL end iterator 2016-07-20 23:22:49 +09:00
Antony Polukhin
dbb832c81e Update the maintainers list 2016-07-12 21:28:40 +03:00
Antony Polukhin
0dcec63b04 Another fix for incomplete types issue. is_variant_constructible_from attempts to construct not only recursive_wrapper<incomplete_type> from incomplete type, but also all the other types of variant from incomplete type. So boost::is_constructible<some_type, incomplete_type> was being called. Issue was fixed by leaving the recursive_wrapper for the right part of the boost::is_constructible and specializing the is_constructible for all the occurances of boost::recursive_wrapper. 2016-06-10 21:00:11 +03:00
Antony Polukhin
927280570a Another attempt to workaround is_constructible<incomplete_type> behavior of clang+libc++ 2016-06-09 23:00:41 +03:00
Antony Polukhin
5dab3b7ab9 Another attempt to workaround partial classes compilation with clang+libc++ (issue preventing boost::spirit::info from compilation) 2016-06-07 22:19:37 +03:00
Antony Polukhin
b84f8c2141 boost::recursive_wrapper related tests for non-complete types + include recursive_wrapper.hpp in variant.hpp to avoid breaking existing code 2016-06-04 11:01:40 +03:00
Antony Polukhin
f4b7d2e50c Fixed double quotes in includes (trac 12057) 2016-06-02 22:15:33 +03:00
Antony Polukhin
397c2f14f8 Dropped BOOST_VARIANT_NO_REFERENCE_SUPPORT macro and dropped support for compilers without SFINAE (trac 12250) 2016-06-02 22:06:23 +03:00
Antony Polukhin
7259ab9b32 Make sure that overloads for variant assingnment are not abiguous when assigning structure derived from variant 2016-06-02 21:52:04 +03:00
Antony Polukhin
38ea840ae3 Merge pull request #20 from pluehne/issue-documentation-typos
Typos in Documentation
2016-06-02 22:46:16 +04:00
Patrick Lühne
b5949cbd6b Fixed whitespace issues in documentation. 2016-06-01 00:27:28 +02:00
Patrick Lühne
84c74fefcf Fixed typos in documentation. 2016-06-01 00:27:14 +02:00
Antony Polukhin
d23cdd3502 Fixed variant construction from classes derived from variant (trac 7120, trac 10278, trac 12155) 2016-05-30 20:11:22 +03:00
Antony Polukhin
2e9d5566b3 Fix travis builds 2016-05-30 20:09:08 +03:00
Antony Polukhin
70f9db1f35 Added missing include 2016-05-28 09:39:33 +03:00
Antony Polukhin
9f234aefa4 Fix typo 2016-05-28 01:48:47 +03:00
Antony Polukhin
85d7a5c72d Added test for issue with implicit conversion operator (trac 11602) 2016-05-28 01:46:47 +03:00
Antony Polukhin
082732aad8 Fix comparisons when variant holds non-const reference (trac 11751) 2016-05-28 01:32:29 +03:00
Antony Polukhin
b3650685f9 Variant constructors and assignment operators now do not participate in overload resolutions if variant can not hold the input type (trac 5871, trac 11602) 2016-05-28 01:29:52 +03:00
Antony Polukhin
5bfb9dbed9 Fix noexcept for variant's move-assignment (trac #11696) 2016-05-17 21:38:14 +03:00
Antony Polukhin
464cca5bfa Merge pull request #19 from joto/patch-1
fix typo
2016-02-03 20:01:11 +03:00
Jochen Topf
32732fac1f fix typo 2016-02-02 09:31:44 +01:00
Antony Polukhin
d2db11c5a4 Merge pull request #18 from jakobandersen/develop
Missing include in recursive_wrapper_fwd.hpp.
2015-12-30 00:20:26 +04:00
Jakob Lykke Andersen
29db6e3e21 Fix compilation error due to missing include.
Add include for mpl::true_/false_.
2015-12-25 19:05:15 +01:00
Antony Polukhin
5cfa5fcf87 Modernize .travis.yml 2015-12-18 22:10:18 +03:00
Antony Polukhin
ec32d3c1c8 Fixed some warnings in test 2015-12-14 19:15:49 +03:00
Antony Polukhin
9807275140 Merge pull request #17 from jzmaddock/patch-4
Workaround for Oracle C++ compiler
2015-09-12 21:26:11 +04:00
Antony Polukhin
1da1f36c3e Merge pull request #16 from jzmaddock/type_traits_fix
Remove files which use deprecated type_traits features, and aren't in…
2015-09-12 19:17:04 +04:00
Antony Polukhin
73645c78b4 Travis fix 2015-08-22 19:45:09 +03:00
Antony Polukhin
c8c769eeb8 Install valgrind in travisci runs 2015-08-22 16:24:53 +03:00
Antony Polukhin
81218d0f60 Fix travis build 2015-08-22 12:54:36 +03:00
Antony Polukhin
d80f9b7f15 TravisCI now runs using valgrind 2015-08-22 12:24:37 +03:00
jzmaddock
c3ee00a45e Workaround for Oracle C++ compiler 2015-08-20 13:34:11 +01:00
jzmaddock
3404daa2fa Remove files which use deprecated type_traits features, and aren't included by anything else anyway. 2015-07-25 11:58:55 +01:00
Antony Polukhin
1de9d246c0 Quckfix for C++14 tests 2015-06-26 00:53:21 +03:00
Antony Polukhin
0b9cb5792b Fixed some warnings in tests 2015-06-22 00:26:10 +03:00
Antony Polukhin
aad58b5fe5 Fix issue with detection of result_type in has_result_type trait when result_type is a reference (refs track 11251,11285) 2015-06-17 21:25:11 +03:00
Antony Polukhin
34e2a9dec8 Relax compile time checks for all the 'get' functions and add more tests 2015-06-17 00:42:42 +03:00
Antony Polukhin
2b2cc6543c Fix error with missing include, that was found by Maarten de Vries 2015-05-10 21:53:27 +03:00
Antony Polukhin
3d4b1ed964 More RTTI off tests and make sure that all the tests pass with RTTI off 2015-04-25 15:06:39 +03:00