Commit Graph
103 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 2445f60981 Fix #11249: missing includes. 2015-05-05 14:09:20 +09:00
Kohei Takahashi 67f0863cdd Fix includes. 2015-03-22 12:24:18 +09:00
Damien Buhl alias daminetreg 0954000314 After merge of #55 regenerated preprocessed headers as needed by #49. 2015-03-06 14:51:52 +01:00
Kohei Takahashi 2114bfca6c More constexpr and noexcept support.
Note 1: Forwarding functions are specified as a C++14 constexpr since
std::forward is not a constexpr within C++11.

Note 2: Though I'm not sure why it doesn't compile, some declarations
are specified as a C++14 constexpr or non-constexpr.

Note 3: Boost.Tuple adaptation and TR1-based tuple implementations are
not constexpr.
2015-03-03 02:21:02 +09:00
Kohei Takahashi d7c918e36f Fix ODR-used violations. 2015-01-11 02:15:45 +09:00
Kohei Takahashi 54dedc5e98 Update auxiliary.hpp 2015-01-08 19:20:56 +09:00
Kohei Takahashi 4dd4773d3d Fix wrong include
and add tests for move.
2014-11-19 17:38:16 +09:00
Joel de Guzman 68b4683e95 added missing include 2014-11-18 14:12:07 +08:00
Kohei Takahashi 465c3f273b result_of::{copy,move,swap} are now SFINAE-friendly 2014-11-10 14:38:42 +09:00
Kohei Takahashi 916df63a14 Add result_of::{copy,move}, close #5886
Thanks to: Jamboree
2014-11-10 14:32:23 +09:00
Kohei Takahashi bd5ce92e10 Replace type_traits::ice_and with well documented mpl::and_. 2014-11-08 02:32:06 +09:00
Kohei Takahashi 4c110d9a88 Regen preprocessed headers. 2014-11-01 20:50:11 +09:00
Joel de Guzman c704efb49c correct fix for ticket 10676. this is a temporary fix until we overhaul the fold implementation. 2014-10-27 19:45:38 +08:00
Joel de Guzman ba723a2cad Merge pull request #23 from Flast/bugfix/cxx14-constexpr
Improve constexpr supports
2014-10-21 22:55:54 +08:00
Joel de Guzman 3d19bf9d96 fixes ticket 10676. for now, we'll use tr1_result_of. we'll have to do an overhaul of the fold implementation because making it sfinae friendly goes deep down into the low level internals. 2014-10-20 05:55:48 +08:00
Kohei Takahashi fdb6598194 Make fold as a single return stmt due to C++11 constexpr.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-18 22:49:09 +09:00
Kohei Takahashi badf3f2a47 Fix forward declaration in conflict with constexpr.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-18 22:49:08 +09:00
Kohei Takahashi bcc2530f19 Do not expand BOOST_{CXX14_}CONSTEXPR while preprocessing.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-18 22:49:08 +09:00
gnzlbg c2abefbab8 Initial constexpr support
This allows to use, e.g., boost::fusion::fold within constexpr functions.

The BOOST_CONSTEXPR macro is used to declare functions constexpr.
2014-08-06 11:09:40 +02:00
Jamboree fd3a18ce1a flatten/flatten_view/ref 2014-04-04 14:38:38 +08:00
Eric Niebler c4f9f0d1b6 gpu-enable functions 2014-01-22 23:55:53 -08:00
Eric Niebler e1dc534877 build target for preprocessing Fusion with wave 2014-01-21 14:17:09 -08:00
Joel de Guzman 5a520585d8 Fixes #7955
[SVN r82668]
2013-01-31 13:01:36 +00:00
Joel de Guzman ea0cad5800 Added fusion::move algorithm
[SVN r82550]
2013-01-19 14:37:00 +00:00
Joel de Guzman 752f911a91 #7427 (Warning fixes in fusion)
[SVN r80812]
2012-10-02 01:12:19 +00:00
Joel de Guzman b63c8214d7 Patches from Nathan Ridge using SFINAE to disable the Fusion algorithms for non-{Fusion sequence} types
[SVN r78463]
2012-05-14 00:37:21 +00:00
Joel de Guzman f46b2aeb73 Fix for ticket #6000
[SVN r74871]
2011-10-10 00:58:24 +00:00
Joel de Guzman 21301c93dc Fix for ticket #6000
[SVN r74870]
2011-10-10 00:47:40 +00:00
Joel de Guzman 2dd633a572 fixed missing includes in main hpp files
[SVN r74463]
2011-09-19 00:12:42 +00:00
Joel de Guzman 9b16a51364 preprocessed files gen for algorithm
[SVN r74449]
2011-09-18 10:48:29 +00:00
Joel de Guzman af90b6660b patch to silence clang warning
[SVN r74441]
2011-09-18 00:28:09 +00:00
Joel de Guzman 0e7a013851 Bumped copyright date
[SVN r74407]
2011-09-16 05:30:23 +00:00
Eric Niebler 9fcb3105e5 make fold aware of segments
[SVN r73906]
2011-08-18 23:14:48 +00:00
Eric Niebler 5ff6210759 make for_each aware of segments
[SVN r73899]
2011-08-18 22:09:59 +00:00
Eric Niebler b8bb98a36b simplify segmented_fold_until interface
[SVN r73898]
2011-08-18 21:33:39 +00:00
Eric Niebler 9dd14c435e make find and find_if algorithms segment-aware, stylistic consistency tweaks
[SVN r73892]
2011-08-18 17:12:05 +00:00
Eric Niebler 2ccb8d604f progress with integrating the segmented Fusion work
[SVN r73831]
2011-08-16 23:07:51 +00:00
Joel de Guzman a339669d05 Better is_equal test
[SVN r73699]
2011-08-12 12:16:23 +00:00
Joel de Guzman 1c8d339bb0 Better is_equal test
[SVN r73698]
2011-08-12 12:07:36 +00:00
Joel de Guzman adbdf8550c Back on track. The code is fine again.
[SVN r73697]
2011-08-12 11:51:57 +00:00
Joel de Guzman c1dd1fa279 Back on track. The code is fine again.
[SVN r73695]
2011-08-12 11:43:24 +00:00
Joel de Guzman 8b80a11877 revert to prior (again).
[SVN r73692]
2011-08-12 07:24:00 +00:00
Joel de Guzman 734b9222d2 revert the implementation to previous version, but changed it such that prior is not used. used advance instead which is ok for forward iterators.
[SVN r73686]
2011-08-12 05:14:06 +00:00
Eric Niebler 5d07df005b fix find_s and find_if_s to return the end iterator when item not found
[SVN r73669]
2011-08-11 17:49:02 +00:00
Eric Niebler b83a2954f5 segmented_fold_until should unpack the state's value before invoking the user's function
[SVN r73668]
2011-08-11 17:28:17 +00:00
Joel de Guzman 5497ea367e QOI + small bug fixes
[SVN r73658]
2011-08-11 15:34:39 +00:00