2
0
mirror of https://github.com/boostorg/fusion.git synced 2026-01-23 17:42:28 +00:00
Commit Graph

201 Commits

Author SHA1 Message Date
Kohei Takahashi
f61bffb21f Remove $$$ JDG temp $$$ 2018-02-24 16:00:57 +09:00
Kohei Takahashi
540ea0ef0c Use build time configuration 2018-01-29 12:03:19 +09:00
Kohei Takahashi
671f22b013 Use new common CI marker 2018-01-29 10:34:33 +09:00
Kohei Takahashi
5fd8c36079 Added test for GitHub issue #159 2017-11-23 22:27:59 +09:00
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
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
a6d1b303b3 Fix block comment style.
Intel Compiler warns on nested comment.
2015-09-09 13:35:03 +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
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
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
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
Damien Buhl (alias daminetreg)
73a5dde412 Merge remote-tracking branch 'official/develop' into fusion_adapters
Conflicts:
	test/sequence/adapt_struct.cpp
2015-02-02 07:06:52 +01:00
Kohei Takahashi
b60219eb8a Fix testcase for MSVC 10.0.
MSVC 10.0/11.0 have <tuple> but don't compile variadic templates.
2015-02-02 04:08:13 +09:00
Kohei Takahashi
5e4978b870 Fix some warnings within tests. 2015-01-21 01:13:19 +09:00
Kohei Takahashi
ce8bf1079a Support removing the C++11 standard reference wrappers. 2015-01-15 18:58:33 +09:00
Joel de Guzman
af1bc25783 - disabling test for now (todo later)
- removing irrelevant tuple test
2015-01-05 17:43:35 +08:00
Kohei Takahashi
ed9880c161 Fix out of bounds access within {front|back}_extended_deque with empty deque.
The insertion point is not correct with empty deque since the range
{next_down, next_up} is not half-open range.
2014-12-05 01:39:27 +09:00
Joel de Guzman
c952a5c053 Const correctness fix for result_of::deref_data 2014-11-19 07:54:37 +08:00
Damien Buhl (alias daminetreg)
b5018586aa Breaking change of BOOST_FUSION_ADAPT_ADT_NAMED and BOOST_FUSION_ADAPT_ASSOC_ADT_NAMED API to be coherent with the expressions of BOOST_FUSION_ADAPT_ADT thanks to correct usage of BOOST_FUSION_PROXY_PREFIX. 2014-11-18 23:38:47 +01:00