Commit Graph

94 Commits

Author SHA1 Message Date
54dedc5e98 Update auxiliary.hpp 2015-01-08 19:20:56 +09:00
4dd4773d3d Fix wrong include
and add tests for move.
2014-11-19 17:38:16 +09:00
68b4683e95 added missing include 2014-11-18 14:12:07 +08:00
465c3f273b result_of::{copy,move,swap} are now SFINAE-friendly 2014-11-10 14:38:42 +09:00
916df63a14 Add result_of::{copy,move}, close #5886
Thanks to: Jamboree
2014-11-10 14:32:23 +09:00
bd5ce92e10 Replace type_traits::ice_and with well documented mpl::and_. 2014-11-08 02:32:06 +09:00
4c110d9a88 Regen preprocessed headers. 2014-11-01 20:50:11 +09:00
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
ba723a2cad Merge pull request #23 from Flast/bugfix/cxx14-constexpr
Improve constexpr supports
2014-10-21 22:55:54 +08:00
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
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
badf3f2a47 Fix forward declaration in conflict with constexpr.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-18 22:49:08 +09:00
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
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
fd3a18ce1a flatten/flatten_view/ref 2014-04-04 14:38:38 +08:00
c4f9f0d1b6 gpu-enable functions 2014-01-22 23:55:53 -08:00
e1dc534877 build target for preprocessing Fusion with wave 2014-01-21 14:17:09 -08:00
5a520585d8 Fixes #7955
[SVN r82668]
2013-01-31 13:01:36 +00:00
ea0cad5800 Added fusion::move algorithm
[SVN r82550]
2013-01-19 14:37:00 +00:00
752f911a91 #7427 (Warning fixes in fusion)
[SVN r80812]
2012-10-02 01:12:19 +00:00
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
f46b2aeb73 Fix for ticket #6000
[SVN r74871]
2011-10-10 00:58:24 +00:00
21301c93dc Fix for ticket #6000
[SVN r74870]
2011-10-10 00:47:40 +00:00
2dd633a572 fixed missing includes in main hpp files
[SVN r74463]
2011-09-19 00:12:42 +00:00
9b16a51364 preprocessed files gen for algorithm
[SVN r74449]
2011-09-18 10:48:29 +00:00
af90b6660b patch to silence clang warning
[SVN r74441]
2011-09-18 00:28:09 +00:00
0e7a013851 Bumped copyright date
[SVN r74407]
2011-09-16 05:30:23 +00:00
9fcb3105e5 make fold aware of segments
[SVN r73906]
2011-08-18 23:14:48 +00:00
5ff6210759 make for_each aware of segments
[SVN r73899]
2011-08-18 22:09:59 +00:00
b8bb98a36b simplify segmented_fold_until interface
[SVN r73898]
2011-08-18 21:33:39 +00:00
9dd14c435e make find and find_if algorithms segment-aware, stylistic consistency tweaks
[SVN r73892]
2011-08-18 17:12:05 +00:00
2ccb8d604f progress with integrating the segmented Fusion work
[SVN r73831]
2011-08-16 23:07:51 +00:00
a339669d05 Better is_equal test
[SVN r73699]
2011-08-12 12:16:23 +00:00
1c8d339bb0 Better is_equal test
[SVN r73698]
2011-08-12 12:07:36 +00:00
adbdf8550c Back on track. The code is fine again.
[SVN r73697]
2011-08-12 11:51:57 +00:00
c1dd1fa279 Back on track. The code is fine again.
[SVN r73695]
2011-08-12 11:43:24 +00:00
8b80a11877 revert to prior (again).
[SVN r73692]
2011-08-12 07:24:00 +00:00
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
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
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
5497ea367e QOI + small bug fixes
[SVN r73658]
2011-08-11 15:34:39 +00:00
e8b0f98a55 Refactored pop_back_iterator into a reusable iterator_adaptor
[SVN r73654]
2011-08-11 14:43:59 +00:00
760c1a534c minor tweaks
[SVN r73645]
2011-08-11 08:52:10 +00:00
d9c5b32687 new cleaner(?) implementation for segmented fusion
[SVN r73644]
2011-08-11 04:14:50 +00:00
00b2cfc52e Made pop_back not use prior.
[SVN r73643]
2011-08-10 22:03:09 +00:00
01424b06b3 added version of fold (overload) accepting non-const State.
[SVN r71179]
2011-04-10 23:45:34 +00:00
80e3f4128b Added missing include
[SVN r70008]
2011-03-15 23:57:13 +00:00
7215d8835f fixed assign bug
[SVN r69589]
2011-03-05 23:37:25 +00:00
21588d6dac fixed wrong return type
[SVN r69583]
2011-03-05 14:48:47 +00:00
1efa444f24 renamed assign to copy and moved it to a new algorithm/auxiliary category
[SVN r69137]
2011-02-22 01:30:12 +00:00