Commit Graph
1283 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
Joel de Guzman 4855d1fac1 Merge pull request #101 from Flast/sfinae-friendly-deque
Apply 7fdb320 change into C++98 interface.
2015-09-07 08:36:07 +08: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
Joel de Guzman de3730c325 Merge pull request #100 from Flast/feature/variadic/tuple
Implement C++11 variadic templates based fusion::tuple.
2015-08-27 14:55:11 +08: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 d9e5a620be Merge pull request #97 from Flast/feature/variadic/set
Variadics for fusion::set.
2015-08-20 21:57:19 +08:00
Kohei Takahashi c5ba3af4c0 Added move functions for set. 2015-08-20 22:30:41 +09:00
Kohei Takahashi 22994d7e96 Fix a discrepance of element types in make_set. 2015-08-04 16:23:13 +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
Kohei Takahashi 6689de502b Implement variadic make_set. 2015-07-30 11:56:09 +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 8eee897e3f Merge pull request #90 from Flast/feature/variadic/nview
Variadic fusion::nview.
2015-07-16 14:07:41 +08:00
Joel de Guzman daea1c3142 Merge pull request #89 from Flast/feature/variadic/vector
Variadic fusion::vector.
2015-07-15 16:05:19 +08:00
Joel de Guzman 2f6e162a7e Merge pull request #88 from boostorg/develop
Boost 1.59 beta
2015-07-07 23:26:29 +08:00
Kohei Takahashi bc01b7fa24 Implement C++11 variadic templates based fusion::tuple. 2015-07-03 01:36:49 +09: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
Kohei Takahashi 298eeef9c9 Remove evil numbered_vector_tag. 2015-06-30 01:28:01 +09:00
Kohei Takahashi 62d9833bbf Add missing remove_const. 2015-06-29 21:55:51 +09:00
Kohei Takahashi b4133761e8 Implement C++11 variadic templates based fusion::set 2015-06-29 18:14:25 +09:00
Kohei Takahashi 7739e4026d Adjust fusion::nview for variadic templates based fusion::vector
since FUSION_MAX_VECTOR_SIZE won't define in c++11.
2015-06-29 12:11:06 +09:00
Kohei Takahashi f9fda7ce06 Remove intermediate specialization. 2015-06-28 19:42:08 +09:00
Kohei Takahashi 1f8ccd7bc3 Support move for make_vector. 2015-06-28 13:46:56 +09:00
Kohei Takahashi 969b475462 Implement variadic templates based fusion::vector.
Thanks to Lee Clagett.
2015-06-28 01:15:51 +09:00
Kohei Takahashi c77f84749f Implement variadic generators for fusion::vector. 2015-06-28 01:15:51 +09:00
Kohei Takahashi d937003962 Prepare implementing c++11 variadic based fusion::vector. 2015-06-28 01:15:51 +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