Kohei Takahashi
6a3ddd1458
Merge pull request #191 from boostorg/adapt-adt/return-const
...
adapt/adt: Don't add/remove const on return type of attributes
2018-08-09 08:21:49 +09:00
Nikita Kniazev
b0f0882229
Define traits::is_view for non fusion types
2018-08-03 00:24:10 +03:00
Kohei Takahashi
77ebd568e1
adapt/adt: Don't add/remove const on return type of attributes
...
Boost.TypeOf always deduces the type as un-cv-qualified value type, thus const-ized
value type is redundant and inhibiting compiler optimization.
2018-08-01 20:08:24 +09:00
Joel de Guzman
f7b90f2981
Merge pull request #124 from Flast/feature/ticket-11157-remove-BOOST_PP_IS_EMPTY
...
Remove use of BOOST_PP_IS_EMPTY.
2016-02-17 04:45:16 +08:00
Kohei Takahashi
4173b4b97b
Suppress conversion warnings on MSVC.
2016-02-16 01:02:58 +09:00
Damien Buhl (alias daminetreg)
2e466ac054
Remove BOOST_PP_IS_EMPTY in favor of BOOST_MPL_PP_TOKEN_EQUAL and added auto as synonym for BOOST_FUSION_ADAPT_AUTO.
...
Fix ticket https://svn.boost.org/trac/boost/ticket/11157
BOOST_MPL_PP_TOKEN_EQUAL is now used to check if auto/BOOST_FUSION_ADAPT_AUTO
was provided as type, telling to deduce members types.
2016-02-13 14:15:53 +09:00
Damien Buhl (alias daminetreg)
9911e05838
Adds test for each case adapter macros we support to adapt an empty type.
2015-05-15 09:09:10 +02: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
Damien Buhl (alias daminetreg)
69e67cd1ad
BUGFIX: When VARIADICS are active supporting any of the input combination.
...
That is : BOOST_FUSION_ADAPT_AUTO, omitting type or specifying type.
2014-09-17 00:47:52 +02:00
Damien Buhl (alias daminetreg)
727f49b49e
Improve adapt_adt test to check more case with type deduction.
2014-08-26 22:00:16 +02:00
Damien Buhl (alias daminetreg)
7b089aa589
Add support for BOOST_FUSION_ADAPT_ADT to either deduce types or use specified ones.
2014-08-10 17:09:57 +02:00
Joel de Guzman
a3b0cad1e7
latest oatch from Nathan Ridge
...
[SVN r79305]
2012-07-05 23:39:50 +00:00
Eric Niebler
528ad04fdb
baking segmented Fusion
...
[SVN r73854]
2011-08-17 18:53:56 +00:00
Joel de Guzman
b3226a5107
Applied patch #5275
...
[SVN r70841]
2011-04-01 23:38:39 +00:00
Christopher Schmidt
f723f870c7
Fusion/Spirit: adt_attribute_proxy refactorization
...
[SVN r65445]
2010-09-17 20:38:23 +00:00
Christopher Schmidt
5adcb5b4d2
Fusion: BOOST_FUSION_ADAPT_xxxCLASSxxx -> BOOST_FUSION_ADAPT_xxxADTxxx
...
[SVN r65439]
2010-09-16 16:33:25 +00:00