Commit Graph
1097 Commits
Author SHA1 Message Date
Kohei Takahashi 1df7fc1dca Revert "Remove unnecessary overloads, state should always be const."
This reverts commit 9b77c26a24.

As discussed on github, the original code was wrong.
2015-09-08 13:59:48 +09:00
Kohei Takahashi 9b77c26a24 Remove unnecessary overloads, state should always be const. 2015-09-08 00:22:58 +09:00
Kohei Takahashi 59dfeec815 Add workarounds for older MSVC. 2015-09-08 00:18:37 +09:00
Kohei Takahashi d3449ab5e5 Overhaul the fusion::fold family to make SFINAE-friendly. 2015-09-04 00:51:56 +09:00
Joel de Guzman efd595fd10 Merge pull request #99 from Flast/bugfix/issue-11572
Retrieve convert<deque_tag>.
2015-08-26 06:00:13 +08:00
Kohei Takahashi e61d08d953 Fix broken convert<deque_tag>, close issue 11572. 2015-08-26 00:20:07 +09:00
Kohei Takahashi 10d9f0ffba Add convert tests for non-assoc containers. 2015-08-25 23:36:32 +09:00
Joel de Guzman 1bde5c6fa3 Merge pull request #96 from Flast/bugfix/issue-11517
Fix #11517
2015-08-03 08:48:56 +08:00
Kohei Takahashi 8242c688e7 Older GCC doesn't accept use of this in constexpr.
Fix #11517
2015-08-03 00:03:40 +09:00
Kohei Takahashi 24f527d401 Use BOOST_CONSTEXPR_OR_CONST instead.
Older GCC cannot specify both of const and constexpr to variable decl.

Partially fix #11517
2015-08-02 21:58:20 +09:00
Joel de Guzman 8761ed1b8d Merge pull request #94 from Flast/preprocess
Regenerate preprocessed files.
2015-07-28 08:03:22 +08:00
Kohei Takahashi e37fd170ce Preprocessing... 2015-07-28 01:02:41 +09:00
Kohei Takahashi 74f0758bca Fix path to preprocessed files. 2015-07-28 01:02:03 +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
Kohei Takahashi ed30a7ca6a Fix issue 11140 2015-07-27 13:12:46 +09:00
Joel de Guzman e0debe282c Merge pull request #91 from ldionne/develop
[Deque] Make the from-sequence constructor SFINAE friendly
2015-07-25 06:24:46 +08:00
Louis Dionne 7fdb3201fa [Deque] Make the from-sequence constructor SFINAE friendly 2015-07-24 22:11:53 +02:00
Joel de Guzman 2f6e162a7e Merge pull request #88 from boostorg/develop
Boost 1.59 beta
2015-07-07 23:26:29 +08:00
Joel de Guzman 00823cc315 Merge pull request #84 from Flast/feature/variadic/list
Variadic fusion::list.
2015-07-01 08:35:47 +08:00
Joel de Guzman fc92ba530d Merge pull request #87 from Flast/patch-1
Prevent use of conversion ctor  for copy purpose.
2015-07-01 07:05:05 +08:00
Kohei Takahashi c0fcaae951 Prevent use of conversion ctor for copy purpose.
Some compilers elect conversion ctor for copy purpose in implicitly defined copy ctor with derived class.
2015-07-01 02:25:13 +09:00
Joel de Guzman 6fe816fe89 Merge pull request #85 from Flast/feature/no_bounds_sequence
Feature/no bounds sequence
2015-06-25 23:09:18 +08:00
Kohei Takahashi d29dc277e6 Renaming No-bounds concept to Unbounded concept. 2015-06-25 22:42:44 +09:00
Kohei Takahashi d5ce74dffd Added move ctor/assign for c++11 fusion::list. 2015-06-24 15:26:33 +09:00
Kohei Takahashi a31009e73c at_key and value_at_key are aware of no-bounds sequence. 2015-06-23 11:36:14 +09:00
Kohei Takahashi 8aa35da4c4 Add documents for No-bounds sequences. 2015-06-23 11:36:13 +09:00
Kohei Takahashi 1e21a4eb7a Add new traits named has_no_bounds.
It is for special usecase: some thing like a window function.
This commit relative to c9ae4fc886 .
Users who wants to access out-of-bounds of sequence, specify new
category to it.

    struct sequence {
        struct category
            : fusion::random_access_traversal_tag
            , fusion::no_bounds_tag {};
        ...
    };

All of bounds related intrinsics of the /no-bounds-sequence/ *should*
guarantee to be well-defined or SFINAE-friendly, or compile error.
2015-06-23 09:44:03 +09:00
Kohei Takahashi 5cceded23b Drop unnecessary specialization. 2015-06-23 08:56:58 +09:00
Kohei Takahashi 78c5228d93 Move internal type into private. 2015-06-23 00:37:24 +09:00
Kohei Takahashi 0e8e857c2f Fix fusion::make_list return type. 2015-06-22 23:43:49 +09:00
Kohei Takahashi d197380540 Implement C++11 list_tie. 2015-06-22 23:08:55 +09:00
Kohei Takahashi 3d0412bfd1 constexpr support for variadic list. 2015-06-22 23:08:55 +09:00
Kohei Takahashi 275f65f9ad Implement C++11 Variadic Templates based list. 2015-06-22 23:08:55 +09:00
Joel de Guzman 9c7b7754fb Merge pull request #83 from Flast/feature/integer_sequence
C++14 like integer_sequence.
2015-06-22 21:38:44 +08:00
Kohei Takahashi 2b14951660 Split c++14 like index_sequence into support/detail. 2015-06-22 21:58:54 +09:00
Joel de Guzman 973f2d3940 Merge pull request #82 from Flast/refactor/just-move-into-cpp03
Move cpp03 list_tie into detail dir.
2015-06-20 06:03:28 +08:00
Kohei Takahashi 60cf66ad89 Adjust include path. 2015-06-18 08:26:11 +09:00
Kohei Takahashi fb2e4c502f Move list_tie. 2015-06-18 08:21:08 +09:00
Joel de Guzman fffbbdebdf Merge pull request #81 from Flast/refactor/just-move-into-cpp03
Move non-variadics into its own cpp03 dir and adjust include paths.
2015-06-17 05:58:07 +08:00
Kohei Takahashi ddcd3cdf93 Likewise. 2015-06-17 01:40:45 +09:00
Joel de Guzman 6df8d5a599 Merge pull request #80 from Flast/refactor/just-move-into-cpp03
[WIP] Just move non-variadics into its own cpp03 dir.
2015-06-16 07:53:27 +08:00
Kohei Takahashi 78afb4d3fc Likewise. 2015-06-14 23:05:06 +09:00
Joel de Guzman 94f3b2a08b Merge pull request #79 from Flast/bugfix/nested
Fix issue 11267
2015-06-08 21:57:09 +08:00
Kohei Takahashi 3521ea3417 Suppress warnings. 2015-06-08 21:41:54 +09:00
Kohei Takahashi ff25066be2 Remove unnecessary include of mpl::print. 2015-06-08 13:36:49 +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
Joel de Guzman 22268eb083 Merge pull request #78 from Flast/remove_old_workaround
Remove obsolete workaround.
2015-05-23 08:58:40 +08:00
Kohei Takahashi 869513768d Remove obsolete workaround.
now it doesn't work properly.
2015-05-23 09:51:06 +09:00
Joel de Guzman 65fae37660 Merge pull request #77 from jzmaddock/patch-3
Stop Using type_traits details.
2015-05-22 08:36:10 +08:00