Commit Graph
209 Commits
Author SHA1 Message Date
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 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
Kohei Takahashi d5ce74dffd Added move ctor/assign for c++11 fusion::list. 2015-06-24 15:26:33 +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
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
Kohei Takahashi ddcd3cdf93 Likewise. 2015-06-17 01:40:45 +09:00
Kohei Takahashi 78afb4d3fc Likewise. 2015-06-14 23:05:06 +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
Kohei Takahashi 83a08934c8 Prepare to merge 2015-04-19 11:56:21 +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 f45c94fa43 Merge remote-tracking branch 'origin/develop' into feature/constexpr 2015-03-04 02:20:52 +09: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
Joel de Guzman 505d41ea67 Merge pull request #49 from Flast/bugfix/msvc
Fix two major MSVC issues.
2015-02-09 06:53:57 +08:00
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
Kohei Takahashi 995202044c Basic move support for c++03 map 2015-01-21 23:11:57 +09:00
Kohei Takahashi 326104a9b7 Fix unexpected overload resolution on MSVC. 2015-01-18 14:15:20 +09:00
Kohei Takahashi f872d1326a The ctor should check which is seqence or not. 2015-01-11 01:15:52 +09: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 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
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 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
Joel de Guzman c952a5c053 Const correctness fix for result_of::deref_data 2014-11-19 07:54:37 +08:00
Joel de Guzman 0f34b3a692 Fixed C++11 implementation of map's result_of::deref_data to return a
reference as expected.
2014-11-18 23:11:20 +08:00
Louis Dionne 0ed591d214 Fix compilation error with as_deque in C++11. 2014-11-12 14:59:28 -05:00
Louis Dionne d93e675408 Fix hard compilation error with nested fusion::cons. 2014-11-11 10:23:36 -05:00
Kohei Takahashi f716d2f410 Merge various hotfixes into develop. 2014-11-01 22:00:45 +09:00
Kohei Takahashi 1b4acaa1b0 Fix unexpected lookup failure with GCC < 4.5. 2014-11-01 21:16:26 +09:00
Niklas Angare 3b3da1a10a Use boost::declval instead of std::declval, close #10190.
Thanks-to: Niklas Angare
2014-10-31 10:09:30 +09:00
Kohei Takahashi 8dc502d33a Remove dup of internal macro
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-28 14:25:04 +09:00
Kohei Takahashi 90206f5da9 Fix result type mismatch
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-28 11:45:47 +09:00