Commit Graph

667 Commits

Author SHA1 Message Date
Antony Polukhin
7d865cc369 CI fixes 2018-12-23 12:11:34 +03:00
Antony Polukhin
1725a7f2a1 build only in release mode on some platforms in CI 2018-12-23 09:43:33 +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
9b13f1cb11 Fix test for GCC 4.7 and 4.6 2018-12-15 17:10:47 +03:00
Antony Polukhin
edfb83b342 ci update 2018-12-14 11:57:21 +03:00
Louis Dionne
1c4d882685 Rewrite the deduction of visitor return type
This avoids using boost::declval inside evaluated contexts, which is invalid
and will actually be diagnosed by compilers [1] when the type used inside
boost::declval has internal linkage (such as an anonymous namespace).

[1]: https://bugs.llvm.org/show_bug.cgi?id=35842
2018-11-15 18:55:58 -05:00
Antony Polukhin
4a448b2bf7
Fix unused parameter warnings 2018-10-09 11:50:45 +03:00
Antony Polukhin
50e7df744a Add missing BOOST_SYMBOL_VISIBLE to the bad_visit exception type 2018-09-18 22:41:48 +03:00
Antony Polukhin
e5a75bb8e1 Revert "Specialize std::hash for boost::variant. Fixes #49"
This reverts commit d972192e54.
2018-08-12 20:56:40 +03:00
Antony Polukhin
d972192e54 Specialize std::hash for boost::variant. Fixes #49 2018-08-12 20:36:12 +03:00
Antony Polukhin
98b5d42e6d Do substitute function arguments on compilers with variadic templates support (more fixes for the #42) 2018-02-21 23:10:25 +03:00
Antony Polukhin
b8149a3a77 Tests and minor fixes for #42 2018-02-20 22:20:24 +03:00
Antony Polukhin
65477fa1ae
Merge pull request #46 from Kojoley/fix-variadic-substitute
Fixed variadic substitute
2018-02-20 21:54:32 +03:00
Antony Polukhin
3f849aae1f
Merge pull request #45 from Kojoley/patch-1
boost/math/common_factor_ct.hpp is deprecated
2018-02-20 21:53:24 +03:00
Nikita Kniazev
b91d4aa40b Fixed variadic substitute 2018-02-17 21:42:31 +03:00
Nikita Kniazev
9dc4f7d697 boost/math/common_factor_ct.hpp is deprecated 2018-02-17 20:49:48 +03:00
Antony Polukhin
c11d5a3365
Merge pull request #44 from DanielaE/fix/disambiguate-variant
disambiguate class variant.
2018-02-01 23:24:19 +03:00
Daniela Engert
8b073bc92f
disambiguate class variant.
When compiled with C++17 features enabled, class variant is defined in both namespace 'std' and namespace 'boost'.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-01-26 17:50:49 +01:00
Antony Polukhin
30f57614d3
Merge pull request #40 from paweldac/develop
Perfect forwarding for passing visitor in apply_visitor.
2018-01-23 10:39:28 +03:00
Antony Polukhin
8c043e1135
Merge pull request #41 from awulkiew/patch-2
Add missing include in apply_visitor_binary.hpp
2017-11-28 20:04:22 +03:00
Adam Wulkiewicz
6f66a90b47
Add missing include in apply_visitor_binary.hpp
For boost::is_lvalue_reference.
2017-11-20 19:50:41 +01:00
Pawel Dac
33784034b7 Perfect forwarding for passing visitor in apply_visitor.
Allows to catch Visitor&&, Visitor& and const Visitor&.

Removed apply_visitor with const Visitor& since it was catching inlined Visitors&&.
Passing const Visitor to result_wrapper resulted in compilation error when Visitor was mutable.
2017-11-07 23:44:43 +01:00
Antony Polukhin
7a756bc773 Updated apply_visitor docs 2017-11-05 16:33:30 +03:00
Antony Polukhin
b0852f6e60 Fix test, add copyright and minor code style fix_ 2017-10-25 23:16:24 +03:00
Antony Polukhin
85416b5182 Test fixes 2017-10-25 10:06:37 +03:00
Antony Polukhin
2d09012977 Always include enable_if in apply_visitor_binary 2017-10-24 09:04:31 +03:00
Antony Polukhin
6caaa65563 Fixes for function ref quallifires usage 2017-10-22 22:25:54 +03:00
Antony Polukhin
bdccd8d90e Merge pull request #1 from diplay/universal-reverence-visitable
Universal reference visitables
2017-10-18 09:09:57 +03:00
diplay
f132ca7591 minor fix test 2017-10-17 13:11:05 +03:00
diplay
be54a19e1b mixed tests 2017-10-17 13:01:36 +03:00
diplay
f87445832e change typename template parameter to bool 2017-10-17 11:43:44 +03:00
diplay
28f8707515 compilation conditions for multivisitor lambda tests 2017-10-13 21:53:42 +03:00
diplay
49e4f90e74 cpp14 multivisitors tests and fix 2017-10-13 15:09:21 +03:00
diplay
1cf3d885bc binary c++14 rvalue move semantics 2017-10-13 14:33:54 +03:00
diplay
3cab439be0 unary c++14 rvalue move semantics 2017-10-13 14:22:55 +03:00
diplay
ec3c0964f1 [wip] c++14 multivisitor with rvalue support 2017-10-13 12:24:30 +03:00
diplay
d933b7cf01 [wip] fix multivisotors cpp11 2017-10-13 12:14:42 +03:00
diplay
61c3872905 [wip] fixed multivisitor with move semantics 2017-10-13 11:24:00 +03:00
diplay
c15f85475e [wip] trying to make rvalue multivisit work 2017-10-13 01:24:53 +03:00
diplay
51f5b50dc9 [wip] binary apply visitor move semantics 2017-10-12 14:00:54 +03:00
diplay
6d0566898e [wip] fix test crashes from previous commit 2017-10-11 16:33:58 +03:00
diplay
09bbcadbc1 [wip] unary visit with rvalue references 2017-10-11 14:45:56 +03:00
diplay
bb9473dfd0 remove hardcoded -std from toolset params 2017-10-10 13:16:25 +03:00
diplay
d4202b8a3f more structured tests 2017-10-10 12:50:07 +03:00
diplay
18fb1d3d7f rvalue and const lvalue reference visitables for multivisitors 2017-10-10 12:37:55 +03:00
diplay
ce556f3371 reduce copy-paste 2017-10-10 12:08:08 +03:00
diplay
86142eccda ticket #6971 fix 2017-10-09 17:47:27 +03:00
Antony Polukhin
ea73f3fb81 Drop some of the new warning suppressions, because they are too global (and some day may hide warnings for just-added issues) 2017-09-26 21:42:01 +03:00
Antony Polukhin
18bf0a18f3 Merge remote-tracking branch 'danielae/feature/qoi-warning' into develop 2017-09-26 21:19:39 +03:00
Antony Polukhin
0fad382bb0 Merge pull request #36 from MarcelRaad/msvc_warning
Fix warning in warning suppression code
2017-07-13 21:00:50 +03:00