Commit Graph
260 Commits
Author SHA1 Message Date
Kohei Takahashi e992658ce3 Skipping some tests due to compiler bug.
It is better to skip such tests on AppVeyor to detect regression.
2017-10-18 23:09:27 +09:00
Lee Clagett b24dfd635b Fixed bug in test/sequence/nest.hpp where some results were ignored 2017-07-25 15:29:57 -04:00
Kohei Takahashi 2952fd254f Use build time config to filter tests. 2017-04-27 22:23:39 +09:00
Kohei Takahashi 1ec001888d Reformatting. 2017-02-02 22:08:16 +09:00
Kohei Takahashi 98b81ee102 Remove use of deprecated binder. (#144) 2016-11-20 16:58:04 +09:00
Kohei Takahashi 6f43cd7f66 Correct testcase condition. 2016-11-01 02:28:45 +09:00
Kohei Takahashi 0d8243b36d Merge pull request #142 from Flast/std_array
Adaptor for std::array.
2016-10-31 01:40:57 +09:00
Kohei Takahashi e74ccb1cf5 DEFINE_STRUCT now allows move construct/assign. 2016-10-19 01:33:43 +09:00
Kohei Takahashi 7b13053c7e Merge pull request #135 from vtnerd/bugfix/vector_conversion_constructor
Make C++11 fusion::vector more consistent with C++03 fusion::vector
2016-10-14 13:51:52 +09:00
Kohei Takahashi ef1ca12e81 Added tests for adapted empty struct. 2016-10-14 01:47:02 +09:00
Kohei Takahashi a2b8a8f254 Don't define user-provided special functions.
To allow to define empty struct.
2016-10-13 00:18:14 +09:00
Kohei Takahashi 16a069be14 Fix test for non C++11/14. 2016-10-11 08:22:35 +09:00
Kohei Takahashi 61fab16418 Merge branch 'mloskot/boost_fusion_std_array' into develop 2016-10-10 18:46:29 +09:00
Kohei Takahashi 928ced256a Adjust directory structure. 2016-10-09 22:14:42 +09:00
Lee Clagett 5906d9c316 Make C++11 fusion::vector more consistent with C++03 fusion::vector
- Construct from elements is enabled iff each argument is_convertible to
    corresponding element.
  - Construct from sequence is enabled iff the single argument is a fusion
    sequence.
  - C++11 vector and tuple also disable construct from sequence that are
    shorter than the destination. C++03 gives incorrect is_convertible
    responses in this situation and fails to compile if that constructor is
    used; C++11 can have instantation errors in
    and_<is_convertible<U, T>...> without the additional check.
  - C++11 tuple and vector support truncation conversion and assignment like
    all other sequences.
2016-08-26 12:45:11 -04:00
Lee Clagett 55150a7fa6 Add DISABLE_VARIADIC_VECTOR and SFINAE for c++11 tuple element construction 2016-07-26 14:53:26 -04:00
Lee Clagett 79d8e9d11c Added to nested tests, and fixed C++11 vector copy-from-sequence 2016-05-31 16:52:57 -04:00
Kohei Takahashi 82f24e0f73 Tweak std::tuple test for GCC 4.4
due to https://gcc.gnu.org/PR41530 .
2016-03-11 01:01:12 +09:00
Joel de Guzman f7b90f2981 Merge pull request #124 from Flast/feature/ticket-11157-remove-BOOST_PP_IS_EMPTY
Remove use of BOOST_PP_IS_EMPTY.
2016-02-17 04:45:16 +08:00
Kohei Takahashi 4173b4b97b Suppress conversion warnings on MSVC. 2016-02-16 01:02:58 +09:00
Damien Buhl (alias daminetreg) 11cc331f82 Add test with namespaced names, as it could break with the macro concatenation to check for BOOST_MPL_PP_TOKEN_EQUAL_auto equality. 2016-02-13 14:15:53 +09:00
Damien Buhl (alias daminetreg) 2e466ac054 Remove BOOST_PP_IS_EMPTY in favor of BOOST_MPL_PP_TOKEN_EQUAL and added auto as synonym for BOOST_FUSION_ADAPT_AUTO.
Fix ticket https://svn.boost.org/trac/boost/ticket/11157
BOOST_MPL_PP_TOKEN_EQUAL is now used to check if auto/BOOST_FUSION_ADAPT_AUTO
was provided as type, telling to deduce members types.
2016-02-13 14:15:53 +09:00
Kohei Takahashi 981f71d04f Use boost::enable_if_has_type instead. 2015-11-01 11:10:11 +09:00
Joel de Guzman 1d45a87201 Merge pull request #102 from Flast/sfinae-friendly-fold
SFINAE-friendly fusion::fold
2015-10-16 06:32:12 +08:00
Kohei Takahashi cbd2e1dc1d Suppress unused warning. 2015-09-09 18:05:04 +09:00
Kohei Takahashi a6d1b303b3 Fix block comment style.
Intel Compiler warns on nested comment.
2015-09-09 13:35:03 +09:00
Kohei Takahashi 76b7697ba5 fusion::fold allows to take non-const lv-ref state properly. 2015-09-08 15:14:27 +09:00
Kohei Takahashi d3449ab5e5 Overhaul the fusion::fold family to make SFINAE-friendly. 2015-09-04 00:51:56 +09:00
Kohei Takahashi c30fabf98f Apply 7fdb320 change into C++98 interface. 2015-08-30 17:13:36 +09:00
Kohei Takahashi 10d9f0ffba Add convert tests for non-assoc containers. 2015-08-25 23:36:32 +09:00
Joel de Guzman b1bb9921e2 Merge pull request #92 from Flast/bugfix/issue-11140
Fix a issue with nested fusion::tuple.
2015-07-27 15:26:10 +08:00
Kohei Takahashi 4fa0a5f550 Add tests for nested fusion::tuple. 2015-07-27 13:31:19 +09:00
Louis Dionne 7fdb3201fa [Deque] Make the from-sequence constructor SFINAE friendly 2015-07-24 22:11:53 +02:00
Kohei Takahashi 2b14951660 Split c++14 like index_sequence into support/detail. 2015-06-22 21:58:54 +09:00
Kohei Takahashi 3521ea3417 Suppress warnings. 2015-06-08 21:41:54 +09:00
Kohei Takahashi e0f10734b1 Fix issue 11267.
Compiler yields compile error within a function witch used in unevaluate
context of constexpr function because of CWG 1581 [2].

1. https://llvm.org/bugs/show_bug.cgi?id=23135
2. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1581
2015-06-08 11:53:17 +09:00
Damien Buhl (alias daminetreg) 9911e05838 Adds test for each case adapter macros we support to adapt an empty type. 2015-05-15 09:09:10 +02:00
Damien Buhl (alias daminetreg) 8b1da45bfe Fix 11269 (https://svn.boost.org/trac/boost/ticket/11269) and add test case for it. 2015-05-06 08:21:02 +02:00
Damien Buhl (alias daminetreg) 3c34d639df Merge branch 'master' into develop 2015-04-29 16:20:05 +02:00
Damien Buhl (alias daminetreg) b902afa5a0 fix testcase when BOOST_PP_VARIADICS is disabled. 2015-04-29 15:58:41 +02:00
Damien Buhl (alias daminetreg) 265de03026 Add test cases for non-constexpr compatible types. 2015-04-26 22:19:31 +02:00
Joel de Guzman 91966ae524 added test case for https://svn.boost.org/trac/boost/ticket/11211 2015-04-21 03:46:25 +08:00
Joel de Guzman e881ea67cb Merge pull request #63 from Flast/develop
Add tests and documents
2015-03-16 08:43:34 +08:00
Kohei Takahashi 8c72a0012f Merge remote-tracking branch 'origin/develop' into feature/sfinae-friendly-result_of 2015-03-09 10:45:42 +09:00
Jamboree d03f79b6fd Update documents and tests for #8270 from Jamboree.
https://svn.boost.org/trac/boost/ticket/8270

see also: b36426c8e3
2015-02-22 01:06:27 +09:00
Kohei Takahashi 52eb8768f2 Add test for #9418, abstract types for key of map.
https://svn.boost.org/trac/boost/ticket/9418
2015-02-22 00:11:04 +09:00
Kohei Takahashi bd4b1cdac6 Fix #10443: SFINAE-friendly result_of::invoke.
It means previous pull-requests (#24) is still incomplete.
2015-02-12 21:21:01 +09:00
Joel de Guzman e23d153734 Merge pull request #54 from boostorg/fusion_adapters
Type Deducing Fusion adapters into develop
2015-02-11 06:53:28 +08:00
Joel de Guzman 505d41ea67 Merge pull request #49 from Flast/bugfix/msvc
Fix two major MSVC issues.
2015-02-09 06:53:57 +08:00
Kohei Takahashi c5c0147d7d Add many tests for SFINAE-friendly result_of::invoke. 2015-02-08 19:23:06 +09:00