Commit Graph
1155 Commits
Author SHA1 Message Date
Kohei Takahashi 3919f3ed73 Fix missing header. 2015-12-01 01:16:01 +09:00
Kohei Takahashi 12792a6c11 Fix compile error with ambiguous ctor, close #11766.
When a) first elem is sequence b) second (and third) elem is(are) void*,
both of conversion ctor and forwarding ctor are candidate since SFINAE
expression has void* type.
2015-12-01 01:14:52 +09:00
Joel de Guzman e9d489c07c Merge pull request #117 from fiesh/develop
error: reference to 'ws' is ambiguous
2015-11-24 05:36:16 +08:00
fiesh 8767d374ea manip.hpp: Do not use "using namespace std;"
Changed "using namespace std;  ws()" into "std::ws()" to avoid ambiguities with a possible "::ws" namespace.
2015-11-23 17:21:59 +01:00
Joel de Guzman ee718b363f Merge pull request #116 from Flast/workaround/msvc-8/fold
Fix fusion::fold regression with MSVC 8.
2015-11-15 07:12:07 +08:00
Kohei Takahashi 87fffbead3 Fix conditional of workaround. 2015-11-14 23:32:46 +09:00
Kohei Takahashi 1c05cfc795 Regenerate fusion::fold family. 2015-11-14 20:34:41 +09:00
Kohei Takahashi 7cf404d096 SFINAE expression obstructs compile on MSVC 8. 2015-11-13 21:49:27 +09:00
Kohei Takahashi 0c18e85ecd Partly fixed fusion::fold regression for MSVC <=8.
It implicitly includes MSVC 9's workaround.
2015-11-13 20:03:12 +09:00
Joel de Guzman bb8b5afc7f Merge pull request #115 from NumScale/fix-fast-vector-value_at
Fix fusion::at<vector<...>, N> for C array types
2015-11-11 10:02:52 +08:00
Charly Chevalier 3298875ecc Add double identity trick for fast value_at (vectors)
This is a workaround to make decltype(expr)::type compiles
with old compilers.
2015-11-10 14:04:16 +01:00
Charly Chevalier 74c0d5d0ec Fix fusion::at<vector<...>, N> for C array types 2015-11-10 10:55:13 +01:00
Joel de Guzman e7ec658b62 Merge pull request #114 from ldionne/bugfix/declval
Remove invalid odr-usages of boost::declval.
2015-11-09 07:16:25 +08:00
Louis Dionne 4d3891ed31 Remove invalid odr-usages of boost::declval. 2015-11-07 16:11:06 -05:00
Joel de Guzman 1bc343660b Merge pull request #113 from Flast/use-enable_if_has_type-instead
Use boost::enable_if_has_type instead.
2015-11-01 16:45:46 +08:00
Kohei Takahashi 981f71d04f Use boost::enable_if_has_type instead. 2015-11-01 11:10:11 +09:00
Joel de Guzman f88dbb6876 Merge pull request #112 from Flast/suppress-undefined-inline-warning
Suppress undefined inline function warning.
2015-10-27 07:32:06 +08:00
Kohei Takahashi 4d5da0371b Suppress undefined inline function warning. 2015-10-27 07:59:55 +09:00
Joel de Guzman 76f49608c7 Merge pull request #110 from Flast/regression/vector-ctor
Fix compile error on by-elem ctor.
2015-10-24 07:58:06 +08:00
Kohei Takahashi 73045b4d49 Fix compile error on by-elem ctor.
Single element vector of fusion sequence cannot construct from its
element type.
2015-10-23 08:29:05 +09:00
Joel de Guzman 18742c6922 Merge pull request #105 from boostorg/variadics
Merge variadics into develop.
2015-10-22 15:40:04 +08:00
Joel de Guzman 277e5ca034 Merge pull request #109 from Flast/o1-vector-at
Make fusion::at<vector<...>,N> O(1).
2015-10-21 09:43:00 +08:00
Kohei Takahashi 1ad2e59e07 Make fusion::at<vector<...>,N> O(1). 2015-10-20 20:12:14 +09:00
Joel de Guzman 2c5c74069f Merge pull request #108 from Flast/regen
Regenerate preprocessed files.
2015-10-18 10:28:04 +08:00
Kohei Takahashi a81024f617 Regenerate preprocessed files. 2015-10-17 11:24:19 +09:00
Joel de Guzman c537da605b Merge pull request #107 from Flast/variadics/rvalue-references
Compliant container-wide requirements.
2015-10-17 10:09:30 +08:00
Joel de Guzman 1d45a87201 Merge pull request #102 from Flast/sfinae-friendly-fold
SFINAE-friendly fusion::fold
2015-10-16 06:32:12 +08:00
Kohei Takahashi ce4ccb929c Check the argument being fusion sequence or not. 2015-10-08 22:23:10 +09:00
Kohei Takahashi 5114d9419e Drop unnecessary ctor. 2015-10-07 17:40:55 +09:00
Kohei Takahashi ca0d92e68d R-value references are now container-wide requirements. 2015-10-06 21:29:02 +09:00
Kohei Takahashi c750552a02 Tweak coding style. 2015-10-06 11:28:16 +09:00
Joel de Guzman a61285a0a1 Merge pull request #106 from Flast/docfix/return-type-of-algorithms
doc: Fix return type of algorithms, close #3358.
2015-10-06 03:48:07 +08:00
Kohei Takahashi 999dad386e doc: Fix return type of algorithms, close #3358. 2015-10-06 01:24:45 +09:00
Joel de Guzman d512378f4e Merge pull request #104 from Flast/doc-updates-for-variadics
Update docs for variadic containers.
2015-09-25 05:37:37 +08:00
Kohei Takahashi ef39bc8651 Update docs for variadic containers. 2015-09-21 16:19:41 +09:00
Joel de Guzman d2f8ee9f32 Merge pull request #103 from Flast/suppress-warnings
Suppress some warnings.
2015-09-09 17:27:12 +08:00
Kohei Takahashi cbd2e1dc1d Suppress unused warning. 2015-09-09 18:05:04 +09:00
Kohei Takahashi a6d1b303b3 Fix block comment style.
Intel Compiler warns on nested comment.
2015-09-09 13:35:03 +09:00
Kohei Takahashi 76b7697ba5 fusion::fold allows to take non-const lv-ref state properly. 2015-09-08 15:14:27 +09:00
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
Joel de Guzman 4855d1fac1 Merge pull request #101 from Flast/sfinae-friendly-deque
Apply 7fdb320 change into C++98 interface.
2015-09-07 08:36:07 +08:00
Kohei Takahashi d3449ab5e5 Overhaul the fusion::fold family to make SFINAE-friendly. 2015-09-04 00:51:56 +09:00
Kohei Takahashi c30fabf98f Apply 7fdb320 change into C++98 interface. 2015-08-30 17:13:36 +09:00
Joel de Guzman de3730c325 Merge pull request #100 from Flast/feature/variadic/tuple
Implement C++11 variadic templates based fusion::tuple.
2015-08-27 14:55:11 +08:00
Joel de Guzman efd595fd10 Merge pull request #99 from Flast/bugfix/issue-11572
Retrieve convert<deque_tag>.
2015-08-26 06:00:13 +08:00
Kohei Takahashi e61d08d953 Fix broken convert<deque_tag>, close issue 11572. 2015-08-26 00:20:07 +09:00
Kohei Takahashi 10d9f0ffba Add convert tests for non-assoc containers. 2015-08-25 23:36:32 +09:00
Joel de Guzman d9e5a620be Merge pull request #97 from Flast/feature/variadic/set
Variadics for fusion::set.
2015-08-20 21:57:19 +08:00