Commit Graph

1407 Commits

Author SHA1 Message Date
Kohei Takahashi
6ab68a29d8 Workaround for LWG 2408: SFINAE-friendly std::iterator_traits.
Now available for GCC(libstdc++v3) < 4.5 and MSVC 12.0.
It means, there is no ambiguous about calling next/prior/... via ADL.
2015-02-05 23:04:36 +09:00
Joel de Guzman
aa1448b77a Merge pull request #51 from Flast/develop
Support removing the C++11 standard reference wrappers.
2015-02-04 04:37:02 +08:00
Damien Buhl (alias daminetreg)
73a5dde412 Merge remote-tracking branch 'official/develop' into fusion_adapters
Conflicts:
	test/sequence/adapt_struct.cpp
2015-02-02 07:06:52 +01:00
Kohei Takahashi
b60219eb8a Fix testcase for MSVC 10.0.
MSVC 10.0/11.0 have <tuple> but don't compile variadic templates.
2015-02-02 04:08:13 +09:00
Damien Buhl (alias daminetreg)
c6c9d872d3 Factored out the IS_TPL macro. 2015-02-01 17:20:31 +01:00
Damien Buhl alias daminetreg
fc1a60e8e6 Adding typename in front of BOOST_TYPEOF is only needed in MSVC when we check the type of a template. 2015-01-30 18:17:36 +01:00
Damien Buhl alias daminetreg
de43345b34 BUGFIX: Forwarding template parameters for MSVC to deduced_attr_type context thanks to BOOST_FUSION_ADAPT_STRUCT_MSVC_REDEFINE_TEMPLATE_PARAMS. 2015-01-25 23:05:42 +01:00
Damien Buhl (alias daminetreg)
382c1e5645 BUGFIX: Expands typename for attribute_type only in case it is really a dependent scope. 2015-01-25 21:48:49 +01:00
Damien Buhl (alias daminetreg)
588896de45 Revert "BUGFIX: MSVC doesn't accept typename to specify a dependent scope within"
This reverts commit 98247fb97f.
2015-01-25 16:14:45 +01:00
Damien Buhl alias daminetreg
70d5b40a7c BUGFIX: Expands typename for attribute_type only in case it is really a dependent scope. 2015-01-25 16:10:34 +01:00
Kohei Takahashi
e4d43b00c1 Cosmetic 2015-01-22 01:02:28 +09:00
Kohei Takahashi
995202044c Basic move support for c++03 map 2015-01-21 23:11:57 +09:00
Kohei Takahashi
b3c560d3b6 Fix some typos. 2015-01-21 19:38:06 +09:00
Kohei Takahashi
3955f76511 Cosmetic 2015-01-21 17:27:14 +09:00
Damien Buhl (alias daminetreg)
98247fb97f BUGFIX: MSVC doesn't accept typename to specify a dependent scope within
template specialization in C++03 as standard specify it.

This also works on GCC 4.6, 4.8.2 and 4.9 in C++11 and C++03, I needlessly
added this during some debugging where the compiler was telling me to do so.

I shouldn't have followed it's advice, as this breaks compatibility with
other compilers.
2015-01-21 00:28:13 +01:00
Kohei Takahashi
5e4978b870 Fix some warnings within tests. 2015-01-21 01:13:19 +09:00
Kohei Takahashi
326104a9b7 Fix unexpected overload resolution on MSVC. 2015-01-18 14:15:20 +09:00
Kohei Takahashi
ce8bf1079a Support removing the C++11 standard reference wrappers. 2015-01-15 18:58:33 +09:00
Kohei Takahashi
28598a7919 doc: Plural form and links. 2015-01-15 18:24:44 +09:00
Kohei Takahashi
0360dc44b2 Fix documentation typo of sequence concepts. 2015-01-15 17:48:17 +09:00
Kohei Takahashi
fbd6a8a50f Fixing template parameter order and a function parameter type. 2015-01-15 16:13:12 +09:00
Kohei Takahashi
e572c382f7 Fixing a broken table notation. 2015-01-15 14:57:48 +09:00
Kohei Takahashi
205c0f1eb4 update overview of directory structure. 2015-01-12 23:34:13 +09:00
Kohei Takahashi
d7c918e36f Fix ODR-used violations. 2015-01-11 02:15:45 +09:00
Kohei Takahashi
f872d1326a The ctor should check which is seqence or not. 2015-01-11 01:15:52 +09:00
Kohei Takahashi
54dedc5e98 Update auxiliary.hpp 2015-01-08 19:20:56 +09:00
Joel de Guzman
af1bc25783 - disabling test for now (todo later)
- removing irrelevant tuple test
2015-01-05 17:43:35 +08:00
Joel de Guzman
7d641cbc8f - Update generated preprocessed files
- Disable variadics for MSVC 2013 (flaky compiler still)
2015-01-05 15:49:06 +08:00
Joel de Guzman
f349d48a3f Merge branch 'develop' of github.com:boostorg/fusion into develop 2015-01-05 15:04:34 +08:00
Joel de Guzman
97c863eaa0 (Re)Generating preprocessed files. 2015-01-05 15:03:54 +08:00
Kohei Takahashi
85ce2a3eb2 Fix link of result_of::remove_if. 2015-01-05 08:24:14 +09:00
Kohei Takahashi
a2269f447e Fix requirements documentation of replace_if. 2015-01-05 08:23:21 +09:00
Kohei Takahashi
51d638f51c Fix documentation of transform correctly. 2015-01-05 08:19:31 +09:00
Joel de Guzman
5eb36f590a Merge pull request #47 from Flast/develop
Add tests and flat includes.
2014-12-18 10:38:41 +08:00
Kohei Takahashi
b7febc887a Flat includes for std::tuple 2014-12-09 19:54:53 +09:00
Joel de Guzman
45aa4ccf95 Merge pull request #46 from Flast/develop
Improve fusion::deque
2014-12-05 06:17:59 +08:00
Kohei Takahashi
24e95c34fb Add tests for #9914 2014-12-05 01:39:27 +09:00
Kohei Takahashi
223c7d520f Fix overload resolution failure.
Because the ctor `deque(U &&...)` is also performed as `deque(U const&...)`.
2014-12-05 01:39:27 +09:00
Kohei Takahashi
ed9880c161 Fix out of bounds access within {front|back}_extended_deque with empty deque.
The insertion point is not correct with empty deque since the range
{next_down, next_up} is not half-open range.
2014-12-05 01:39:27 +09:00
Kohei Takahashi
d05b854c58 Correct variadic based fusion::deque requirements 2014-12-02 08:37:58 +09:00
Kohei Takahashi
d185bd5df6 Use call_param for deducing type better. 2014-12-02 08:37:58 +09:00
Kohei Takahashi
aa4d67258b Fixed for non rv-ref supporting compiler. 2014-11-30 02:04:32 +09:00
Joel de Guzman
147c76573e Merge pull request #45 from Flast/workaround/for-msvc
Workarounds for MSVC
2014-11-26 07:13:44 +08:00
Kohei Takahashi
fbbfc16d2d Workaround for MSVC8.0
I'm not sure why it doesn't compile...
2014-11-26 01:49:07 +09:00
Kohei Takahashi
9ab7774fd7 Replace some usage of std::forward to static_cast.
For more details, See inline comment of include/boost/fusion/support/config.hpp .
2014-11-26 01:35:55 +09:00
Kohei Takahashi
687668c110 Fix sprious compile error on VS2015 Preview.
MSVC 2015 Preview will treat unary-ctor call as a variable declaration
even if member call follows, which member has the same name with any
other class (i.e. there are no relations between the member and such
class). This issue already reported at [1].

1. https://connect.microsoft.com/VisualStudio/feedback/details/1037783/unary-ctor-call-v-s-variable-decl

    struct foo
    {
        foo(int) {}
        void set() {}
    };

    struct set;

    int main()
    {
        int i;
        foo(i).set(); // VS2015 try to decl `i` here and conflict with above.
    }
2014-11-24 03:07:16 +09:00
Joel de Guzman
2093bf82db Merge pull request #44 from Flast/develop
Fix wrong include
2014-11-19 21:15:46 +08:00
Kohei Takahashi
4dd4773d3d Fix wrong include
and add tests for move.
2014-11-19 17:38:16 +09:00
Joel de Guzman
08a6ea79b3 Merge pull request #43 from Flast/vs2015/name-hiding-warning
Mitigate too noisy name-hiding warnings (C4453) on VS2015 Preview.
2014-11-19 16:04:28 +08:00
Kohei Takahashi
9075da0790 Mitigate too noisy name-hiding warnings (C4453) on VS2015 Preview.
NOTE: This commit doesn't contain new preprocessed file to review easier.
2014-11-19 13:20:36 +09:00