774 Commits
Author SHA1 Message Date
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 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 8eee897e3f Merge pull request #90 from Flast/feature/variadic/nview
Variadic fusion::nview.
2015-07-16 14:07:41 +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
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 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