Commit Graph

667 Commits

Author SHA1 Message Date
Antony Polukhin
7a0b343681 Merge pull request #12 from eldiener/develop
Removed reliance on deprecated type_traits header
2015-04-15 10:46:07 +04:00
Edward Diener
a9049106d7 Removed reliance on deprecated type_traits header 2015-04-02 12:26:22 -04:00
Antony Polukhin
5c9b7b0105 Fix typo in docs 2015-03-09 14:47:10 +03:00
Antony Polukhin
da6494128d Do check result type detection for delayed visitation ONLY if variadic templates are available 2015-02-11 12:05:47 +03:00
Antony Polukhin
b38a79116e Merge branch 'develop' into alexhenrie-master 2015-01-31 18:03:23 +03:00
Alex Henrie
812f62ba79 Correct spelling of "suppress" and "ensure" 2015-01-30 15:25:40 -07:00
Antony Polukhin
1cec2c9e93 Disable variadic templates for MSVC-14 because of compiler implementation bugs 2015-01-27 16:11:40 +03:00
Antony Polukhin
e00c75c20d Continue fixes, pointed out by Adam Wulkiewicz: removed unnecessary reference_content.hpp include, added missing static_assert.hpp include 2015-01-08 14:06:59 +03:00
Antony Polukhin
adfd722858 Merge pull request #9 from awulkiew/fix/get
Your fix seems right. `resursive_wrapper_fwd.hpp` is meant to be lightweight and included everywhere.
2015-01-08 13:58:13 +03:00
Antony Polukhin
57090d9209 Fix test compilation (missing header) 2015-01-04 20:19:51 +03:00
Antony Polukhin
b3aedaabc4 Merge pull request #10 from awulkiew/fix/headers
Add missing header in variant.hpp
2015-01-04 19:40:48 +03:00
Adam Wulkiewicz
d05232522b Add missing header in variant.hpp
because of the recent TypeTraits dependency drop in Move.
2015-01-04 15:19:55 +01:00
Adam Wulkiewicz
428433f497 Add missing headers in get.hpp and element_index.hpp 2014-12-31 16:44:47 +01:00
Antony Polukhin
da89ab5633 Add test for unambiguous call to swap (refs trac #10882) 2014-12-26 16:49:31 +03:00
Antony Polukhin
1e1a81536c Fix ambiguous cal to swap (refs trac #10882) 2014-12-26 15:12:34 +03:00
Antony Polukhin
36a45459f1 Use unified travis script 2014-12-18 22:50:38 +03:00
Antony Polukhin
7c8b70cb9d Include variant_fwd.hpp to avoid issues with undefined BOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES 2014-12-17 10:43:51 +03:00
Antony Polukhin
3b84e2b981 Make the variant_nonempty_check check variant behavior on different internal policies: with/without fallback type + throw/nothrow copyable + throw/nothrow movable 2014-12-12 17:01:17 +03:00
Antony Polukhin
6db01d6494 Fixed a bug with copy constructing a backup holder; changed some tests 2014-12-12 16:05:52 +03:00
Antony Polukhin
a090e75efe Throw exceptions on specified assignment numer N in variant_nonempty_check and make tests run on a multiple different Ns 2014-12-12 14:22:37 +03:00
Antony Polukhin
ceb56996d6 Minor improvement to the autotest script 2014-12-11 19:40:34 +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
3e9aec5371 Avoid some non essential hard for compilers tests, improve tests coverage 2014-12-11 15:21:35 +03:00
Antony Polukhin
ff52de9d5a Merge branch 'master' into develop 2014-12-10 14:46:33 +03:00
Antony Polukhin
e2525d1baf Merge branch 'travisci' 2014-12-10 14:45:24 +03:00
Antony Polukhin
8c385d9874 Final update of README.md 2014-12-10 14:45:00 +03:00
Antony Polukhin
1a67de834e Updated README.md 2014-12-10 14:37:55 +03:00
Antony Polukhin
4ea8838167 Updated README.md 2014-12-10 14:33:14 +03:00
Antony Polukhin
cbf4bbf1b1 Apply naming recomendations from mailing list discussion: unsafe=>relaxed, safe=>strict 2014-12-10 14:03:33 +03:00
Antony Polukhin
46250fa7d2 Make polymorphic_get U type compile time checked, add more tests and improve docs. Use strict as a default policy for polymorphic_get and get (as recomended at mailing list discussions) 2014-12-10 13:32:18 +03:00
Antony Polukhin
bcf506a296 Started the work on polymorphic_get to determinate sanity/safety of getting Base type. Fixed an issue with polymorphic_get<const final>. More tests, added safe_get and unsafe_get methods. Minor update of the docs 2014-12-09 20:50:18 +03:00
Antony Polukhin
1231f51501 Initial implementation of a metaprogramming function, that is capable of detecting element index in variant::types. Some tests to make sure that no old valid code was broken 2014-12-09 17:31:41 +03:00
Antony Polukhin
5cd1e3ee85 More tests and minor fixes for variadic multi visitation 2014-12-08 14:00:42 +03:00
Antony Polukhin
0231eefd43 More docs and tests for new variadic templates related features; tune apply_visitor(visitor) to use variadic templates and be suitable for visitors with any count of input opertors 2014-12-05 18:02:46 +03:00
Antony Polukhin
2770d7569e Variadic templates based multivisitors now compile, result_type is determinated automatically if required 2014-12-05 14:51:58 +03:00
Antony Polukhin
6fff67381e Merge branch 'develop' into variadic_multivisitors 2014-12-05 12:01:38 +03:00
Antony Polukhin
6db941f3dd Added missing relational operators and their docs (refs trac #10811 and #8620) 2014-12-03 20:42:10 +03:00
Antony Polukhin
ecdde80ea5 Some thoughts about multivisitors based on variadic templates 2014-12-03 19:25:47 +03:00
Antony Polukhin
940cfef1f6 Simplify Multi visitation section in Tutorial (refs trac #10653) 2014-12-02 19:52:26 +03:00
Antony Polukhin
adb3d5c9bb Removed deprecated advice (refs trac #10273) 2014-12-02 19:16:19 +03:00
Antony Polukhin
20c7019799 Make sure that we do not occasionally disable variadic templates for Clang (refs trac #Clang compiler defines GNUC) 2014-12-02 19:10:18 +03:00
Antony Polukhin
6e31806038 Autodetect visitation result type for binary visitors (refs svn #10837) 2014-12-02 18:59:58 +03:00
Antony Polukhin
f8a29a0d2f Autodetect visitation return type for unary visitors (refs svn #10837) 2014-12-02 17:48:57 +03:00
Antony Polukhin
81ef9229fb remove executable permission from a source file 2014-11-26 11:36:12 +03:00
Antony Polukhin
21eeb2e4d4 More Coverall fixes 2014-09-18 16:59:56 +04:00
Antony Polukhin
7fc1b93794 Final fixes 2014-09-18 16:42:30 +04:00
Antony Polukhin
4352cb4c17 Attempt to improve coverage tests 1 2014-09-18 16:24:36 +04:00
Antony Polukhin
2131e0255f Attempt to improve coverage tests 2014-09-18 16:15:25 +04:00
Antony Polukhin
9ae87bfbd0 More TravisCI fixes and README improved 2014-09-18 15:24:52 +04:00