Commit Graph

16 Commits

Author SHA1 Message Date
Antony Polukhin
d069511e31 Update copyright 2019-01-17 13:00:51 +03:00
Antony Polukhin
2cd28cdd9c Replace boost/test/minimal.hpp from Boost.Test with boost/core/lightweight_test.hpp 2018-12-22 21:35:48 +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
ec32d3c1c8 Fixed some warnings in test 2015-12-14 19:15:49 +03:00
Antony Polukhin
12ab1675c7 Another attempt to improve tests coverage 2014-12-11 18:46:29 +03:00
Antony Polukhin
a79b3978a5 Improve tests coverage: add tests to ensure varinat is in correct state after exception in assignment of move assignemnt functions; make sure that recursive varinats swap and assign well 2014-12-11 17:47:19 +03:00
Antony Polukhin
9bc9c1c143 Do not use variadic templates on platforms that do not have full support of that feature 2014-04-24 11:53:00 +04:00
Ed Catmur
e30800b534 Substitute recursive variant tag within variadic templates (e.g. tuple)
Unspecialize variadic substitute on Arity to prevent ambiguity with boost::variant<...> partial specialization in recursive_variant.hpp; add test.

Add check for BOOST_NO_CXX11_HDR_TUPLE, in case we end up with a compiler with variadic templates but no std::tuple
2014-04-11 01:47:09 +01:00
Antony Polukhin
eebda61e78 Make Boost.Variant work on exception-disabled environments (refs #8717)
[SVN r85081]
2013-07-19 11:40:06 +00:00
Steven Watanabe
3f255f9108 Avoid error instantiating map with recursive_variant_. Disable ADL to make instantiation less likely. Fixes #4584.
[SVN r67604]
2011-01-03 04:57:44 +00:00
Steven Watanabe
392fab2f89 Make sure that recursive_variant_ substitution works in all cases. Fixes #1654
[SVN r62753]
2010-06-10 18:16:19 +00:00
Douglas Gregor
ed1f810071 License updates
[SVN r24597]
2004-08-19 15:19:17 +00:00
Eric Friedman
419c8b1249 recursive_variant is now spelled make_recursive_variant.
[SVN r20725]
2003-11-07 06:02:40 +00:00
Eric Friedman
dbcae544b0 Dramatically reduced overhead caused by recursive_variant implementation for non-recursive variants.
[SVN r19720]
2003-08-21 07:16:09 +00:00
Eric Friedman
586ba6d043 Added copyright and file info.
[SVN r19538]
2003-08-11 20:42:02 +00:00
Eric Friedman
33755650ab Added recursive_variant test.
[SVN r19537]
2003-08-11 20:39:07 +00:00