Commit Graph
616 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
Kohei Takahashi e61d08d953 Fix broken convert<deque_tag>, close issue 11572. 2015-08-26 00:20:07 +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 ed30a7ca6a Fix issue 11140 2015-07-27 13:12:46 +09:00
Louis Dionne 7fdb3201fa [Deque] Make the from-sequence constructor SFINAE friendly 2015-07-24 22:11:53 +02: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
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 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
Kohei Takahashi 2b14951660 Split c++14 like index_sequence into support/detail. 2015-06-22 21:58:54 +09: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
Kohei Takahashi ddcd3cdf93 Likewise. 2015-06-17 01:40:45 +09:00
Kohei Takahashi 78afb4d3fc Likewise. 2015-06-14 23:05:06 +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
Kohei Takahashi 869513768d Remove obsolete workaround.
now it doesn't work properly.
2015-05-23 09:51:06 +09:00
jzmaddock cac994a7c6 Stop Using type_traits details.
Best not to use type_traits undocumented details, these will be moving soon, and use of this header will warn loud and clear if you continue to use it.
2015-05-21 19:14:12 +01: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
Kohei Takahashi 2445f60981 Fix #11249: missing includes. 2015-05-05 14:09:20 +09:00
Damien Buhl (alias daminetreg) 3c34d639df Merge branch 'master' into develop 2015-04-29 16:20:05 +02:00
Damien Buhl (alias daminetreg) ce62bb49f3 fix constructors of DEFINE_STRUCT_INLINE to allow construction with non-constexpr compatible. 2015-04-26 22:19:44 +02:00
Joel de Guzman 83fb0ef7a2 Merge branch 'master' into develop 2015-04-23 08:27:30 +08:00
Damien Buhl (alias daminetreg) bbdfc9972e Remove BOOST_CONSTEXPR on BOOST_FUSION_DEFINE_STRUCT constructor as it however adds the requirement that the user provided types are constant enabled. 2015-04-21 08:59:24 +02:00
Kohei Takahashi 83a08934c8 Prepare to merge 2015-04-19 11:56:21 +09:00
Kohei Takahashi 6e569bcdc3 Fix workaround condition: || v.s. &&.
see: https://github.com/boostorg/fusion/commit/01a2d6557ea65fb4c5ec6f3e50d3340c1c13629d#commitcomment-10697799
2015-04-14 13:39:50 +09:00
Joel de Guzman de50f65380 fixes #11161 2015-04-01 19:09:42 +08:00
Joel de Guzman 1ba1ac3ec8 Merge pull request #66 from boostorg/develop
Last chance for 1.58.0.
2015-04-01 09:15:11 +08:00
Joel de Guzman b56eb59595 Merge pull request #65 from Flast/bugfix/msvc
Adjust LWG2408 workaround enabling condition.
2015-03-31 00:00:44 +08:00
Kohei Takahashi 01a2d6557e Adjust LWG2408 workaround enabling condition. 2015-03-25 21:49:22 +09:00
Kohei Takahashi 67f0863cdd Fix includes. 2015-03-22 12:24:18 +09:00
Kohei Takahashi 8c72a0012f Merge remote-tracking branch 'origin/develop' into feature/sfinae-friendly-result_of 2015-03-09 10:45:42 +09:00