Commit Graph

1407 Commits

Author SHA1 Message Date
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
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
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
Joel de Guzman
14228e9250 Merge pull request #76 from daminetreg/feature/fix-ticket-11269-adapt-empty-struct
Adds test case for each adapter macros we support to adapt an empty type
2015-05-15 21:20:25 +08: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
Joel de Guzman
f22f1624b5 Merge pull request #75 from daminetreg/feature/fix-ticket-11269-adapt-empty-struct
Fix ticket #11269 to adapt an empty struct
2015-05-06 15:34:31 +08: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
Joel de Guzman
3b86f61f15 Merge pull request #74 from Flast/bugfix/11249
Fix #11249
2015-05-05 13:39:04 +08:00
Kohei Takahashi
2445f60981 Fix #11249: missing includes. 2015-05-05 14:09:20 +09:00