Commit Graph

1407 Commits

Author SHA1 Message Date
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
Kohei Takahashi
4c110d9a88 Regen preprocessed headers. 2014-11-01 20:50:11 +09:00
Kohei Takahashi
f73b5362c5 Fix test error with C++03 mode, due to C++11 using-declaration. 2014-11-01 16:53:37 +09:00
Joel de Guzman
df7b766247 Merge pull request #30 from Flast/bugfix/10190/declval
Use boost::declval instead of std::declval, close #10190.
2014-10-31 10:21:38 +08: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
Joel de Guzman
6b6d613e15 Merge pull request #29 from Flast/bugfix/msvc-10.0
Fix compile error on MSVC-10 and 11 due to no variadic templates.
2014-10-31 08:21:16 +08:00
Kohei Takahashi
c10b94472d Fix compile error on MSVC-10 and 11 due to no variadic templates.
see http://thread.gmane.org/gmane.comp.lib.boost.devel/255086

Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-30 19:44:48 +09:00
Joel de Guzman
101d9d5505 Merge pull request #28 from daminetreg/fusion_adapters
develop merged into fusion_adapters branch
2014-10-29 09:42:55 +08:00
Joel de Guzman
0ffc0f04e3 Merge pull request #27 from Flast/bugfix/misc
Fix some misc issues
2014-10-29 07:22:39 +08:00
Kohei Takahashi
c6cb25846c Fix doc typo and describe about c++11 make_map.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-28 18:34:24 +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
179e36fa42 Do not expand BOOST_NO_CXX11_RVALUE_REFERENCES while preprocessing.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-28 14:24:48 +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
Kohei Takahashi
ae23ffb8b6 Fix include guard mismatch
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-28 11:45:47 +09:00
Joel de Guzman
5ae01ad6a9 - Added sfinae test case for fold
- Some cleanup
2014-10-28 09:06:42 +08:00
Joel de Guzman
d5eb1e793c Merge pull request #26 from ldionne/master
Improve support for constexpr in fusion::nil and its iterators.
2014-10-28 08:12:04 +08:00
Joel de Guzman
3933df13fb Merge pull request #26 from ldionne/master
Improve support for constexpr in fusion::nil and its iterators.
2014-10-27 22:29:56 +08:00
Louis Dionne
cdfb1a46b3 Improve support for constexpr in fusion::nil and its iterators. 2014-10-27 10:09:26 -04:00
Damien Buhl (alias daminetreg)
2f850604e8 Merge remote-tracking branch 'official/develop' into fusion_adapters 2014-10-27 14:00:49 +01: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
06a46de636 Merge pull request #18 from Flast/fix/test/tr1_tuple
Fix test error on non c++11 environment; Boost.TR1 is deprecated.
2014-10-26 22:07:28 +08:00
Joel de Guzman
3192da28e6 Merge pull request #25 from daminetreg/fusion_adapters
BOOST_FUSION_ADAPT_*_ADT macros supporting type deduction
2014-10-23 08:48:07 +08:00
Damien Buhl (alias daminetreg)
e50f5852e4 Changes the test cases, as the behaviour about const-qualifier for
attribute_type and attribute_const_type when type is deduced can be
different than when the type is provided.

Indeed when specifying attribute_type and attribute_const_type manually
it's possible to provide a type which isn't const qualified as
attribute_const_type. When deducing the types from the get_expr, a const
and a non const qualified type is taken respectively for attribute_type
and attribute_const_type.
2014-10-22 22:06:31 +02:00
Joel de Guzman
98b71154ec Merge pull request #24 from Flast/bugfix/invoke
Fix tickets #10443 completely (SFINAE-friendly invoke).
2014-10-22 19:08:07 +08:00
Kohei Takahashi
e014a1d173 Fix #10443 completely.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-22 19:42:48 +09:00
Kohei Takahashi
812e9e379e Fix wrong partial specializations.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-22 01:02:39 +09: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
Damien Buhl (alias daminetreg)
020b22f9b9 Fix test for compiler not supporting BOOST_PP_VARIADIC. 2014-10-20 22:32:28 +02:00
Damien Buhl (alias daminetreg)
3a28c3fd81 Updates the doc of ADAPT_ADTs macros 2014-10-20 21:35:01 +02:00
Damien Buhl (alias daminetreg)
cfcdbe1195 Change adapt_assoc_tpl_adt to test type inference from templated type. 2014-10-20 21:25:07 +02:00
Damien Buhl (alias daminetreg)
03ba146d84 lvalue typedef for acess::struct_member is a dependent scope to templated
parameter when used within BOOST_FUSION_ADAPT_ASSOC_TPL_ADT.

This fixes test sequence/adapt_assoc_tpl_adt.cpp.
2014-10-20 12:54:31 +02:00
Joel de Guzman
acf25e3986 Merge pull request #22 from klemensbaum/master
Avoid unused parameter warning in BOOST_FUSION_DEFINE_STRUCT_INLINE
2014-10-20 17:57:59 +08:00
Klemens Baum
c921b9ca99 Avoid unused parameter warning in BOOST_FUSION_DEFINE_STRUCT_INLINE 2014-10-20 11:48:42 +02:00
Joel de Guzman
6cad6bef99 fixes ticket #10443. invoke is now sfinae friendly. 2014-10-20 06:23:52 +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
bebd553dd6 Use BOOST_CXX14_CONSTEXPR instead of BOOST_CONSTEXPR.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-19 23:46:36 +09: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
Joel de Guzman
ec9530eb15 Merge pull request #21 from Flast/bugfix/include-guard-mismatch
Fix include guard mismatch.
2014-10-17 21:14:57 +08:00
Joel de Guzman
6adde75b54 Merge pull request #20 from Flast/hotfix/include-guard-mismatch
Fix include guard mismatch.
2014-10-17 21:14:39 +08:00
Kohei Takahashi
73f058b381 Fix include guard mismatch.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-17 18:53:45 +09:00
Kohei Takahashi
1b2e62f4b9 Fix include guard mismatch.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-17 18:53:03 +09:00
Damien Buhl (alias daminetreg)
2b5da49628 lvalue access::struct_member was wrongly set to be adt_attribute_proxy<> instead of adt_attribute_proxy<>::type. Shame on me. 2014-10-12 16:25:59 +02:00
Damien Buhl (alias daminetreg)
cd0d3ce09a add comments for readability. 2014-10-12 14:51:34 +02:00
Damien Buhl (alias daminetreg)
644d72ccfe adds type deduction support for BOOST_FUSION_ADAPT_ASSOC_ADT. 2014-10-12 14:51:04 +02:00
Damien Buhl (alias daminetreg)
103b02fda2 add test for BOOST_FUSION_ADAPT_ADT_NAMED deducing types. 2014-10-12 12:50:56 +02:00
Joel de Guzman
d0b3d163c5 Merge pull request #19 from mgaunard/master
avoid unused argument warning in map_impl
2014-10-10 06:11:22 +08:00
Mathias Gaunard
561b762f57 avoid unused argument warning in map_impl 2014-10-09 14:17:17 +02:00