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
020b22f9b9
Fix test for compiler not supporting BOOST_PP_VARIADIC.
2014-10-20 22:32:28 +02:00
cfcdbe1195
Change adapt_assoc_tpl_adt to test type inference from templated type.
2014-10-20 21:25:07 +02:00
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
644d72ccfe
adds type deduction support for BOOST_FUSION_ADAPT_ASSOC_ADT.
2014-10-12 14:51:04 +02:00
103b02fda2
add test for BOOST_FUSION_ADAPT_ADT_NAMED deducing types.
2014-10-12 12:50:56 +02:00
b8c65b976c
Fix test error on non-c++11 env.
...
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-10-09 00:57:37 +09:00
790810757a
Rename the test tr1_tuple_auto_conv to std_tuple_auto_conv.
...
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-10-09 00:56:17 +09:00
f869aa1591
Change to test std::tuple now that Boost.TR1 is deprecated and due to be removed.
2014-09-27 13:22:56 +01:00
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
f0bc2a2ac1
Fix dependents scopes and typedefs with typename keywords.
2014-08-26 23:32:26 +02:00
727f49b49e
Improve adapt_adt test to check more case with type deduction.
2014-08-26 22:00:16 +02:00
7b089aa589
Add support for BOOST_FUSION_ADAPT_ADT to either deduce types or use specified ones.
2014-08-10 17:09:57 +02:00
a54c543dd7
Adapted test cases for adapt_assoc_tpl_struct with type deduction.
2014-07-27 16:31:15 +02:00
a13d1346f6
Adapted tests of assoc_struct to the type-deducing version of the ADAPT* macros.
2014-07-27 15:51:12 +02:00
70410d1e07
replaced tabs with 4 spaces
2014-07-24 14:45:45 +02:00
f7685b1194
add automatic hash function creation
2014-07-24 14:22:55 +02:00
a5d6fd0800
Test adapt_assoc_tpl_struct checking support for type deduction.
2014-07-23 02:49:28 +02:00
5422ba7f8f
Adds the possibility to omit the member type in ADAPT_ASSOC* macros usage.
...
This feature is enabled when BOOST_PP_VARIADICS also is, as it rely on it.
A placeholder for the type can be used when BOOST_PP_VARIADICS isn't
active.
2014-07-23 02:42:30 +02:00
bf66c12cde
Fix the unit test of adapt_struct for consistency with other tests of the same kind.
2014-06-25 00:25:14 +02:00
abff92ab65
Add support for members types deduction to the ADAPT_STRUCT_NAMED macro.
2014-06-25 00:11:40 +02:00
f0eab528e9
Fix adapt_struct test which was missing an using keyword.
2014-06-14 11:40:51 +02:00
0e50a02fbc
Remove deleted unit tests from Jamfile.
2014-06-13 23:09:39 +02:00
4cf96e14f3
Added test for the new ADAPT_STRUCT API capable to deduce member types.
2014-06-13 23:09:39 +02:00
04ce8a788b
Enabled new ADAPT_STRUCT_API for ADAPT_TPL_STRUCT.
2014-06-13 23:09:38 +02:00
557b3d2dc6
Fix detection of member_type parameter emptiness for BOOST_FUSION_ADAPT_STRUCT.
...
As BOOST_PP_IS_EMPTY is not a general purpose emptiness checker, we limit
the ways it can be used.
2014-06-13 23:09:38 +02:00
02b776360a
FEATURE: BOOST_FUSION_ADAPT_STRUCT can now also be called completely with
...
variadics arguments.
The following signature is possible :
BOOST_FUSION_ADAPT_STRUCT(
struct_name,
member_name0,
(BOOST_FUSION_ADAPT_AUTO, member_name1)
(member_type2, member_name2)
member_name3,
...
)
2014-06-13 23:09:38 +02:00
6f6bfb3a27
EDITORIAL: Cleaning the ADAPT_STRUCT which can deduce types.
2014-06-13 23:07:32 +02:00
703bff4ff9
FEATURE: Types of a struct can freely pe provided or deduced, following the user preferences.
2014-06-13 23:07:32 +02:00
7e1c6cdf47
FEATURE: Type deduction for BOOST_FUSION_ADAPT_STRUCT_C_BASE, with preliminary support for providing or deducing the type.
2014-06-13 23:07:16 +02:00
c052b4b452
FEATURE: Making BOOST_FUSION_AUTO_ADAPT_STRUCT variadic.
2014-06-13 23:04:09 +02:00
934463c7b4
FEATURE: BOOST_FUSION_AUTO_ADAPT_ASSOC_STRUCT_NAMED now allows defining a Random Access Sequence and an Associative sequence without providing the type.
2014-06-13 23:04:08 +02:00
f7b14aee35
FEATURE: BOOST_FUSION_AUTO_ADAPT_ASSOC_STRUCT now allows defining a Random Access Sequence and an Associative sequence without providing the type.
2014-06-13 23:04:08 +02:00
5aa9a89fb8
FEATURE: BOOST_FUSION_AUTO_ADAPT_STRUCT_NAMED_NS which allows listing class attributes to adapt without specifying types.
2014-06-13 23:04:07 +02:00
0d7ad9f6e2
FEATURE: BOOST_FUSION_AUTO_ADAPT_STRUCT_NAMED that does not require specifying the types of the fields.
2014-06-13 23:04:07 +02:00
3f965e00d3
#9516 BOOST_FUSION_AUTO_ADAPT_STRUCT that does not require specifying the types of the fields.
2014-06-13 23:04:07 +02:00
25bb75e3f8
Fix test error in msvc-10.0
...
Including fusion/adapted/std_tuple.hpp will occur compile error.
Therefore, entire test should be ignored.
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-06-12 12:24:46 +09:00
059c041659
Add test for convert seq to std::tuple
...
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-06-09 21:59:06 +09:00
f7adae2b3d
Add test for convert seq to tuple
...
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-06-09 21:59:06 +09:00
fd3a18ce1a
flatten/flatten_view/ref
2014-04-04 14:38:38 +08:00
44d5dca98b
Fixed test to work with an explicit operator bool
2014-01-26 19:06:16 -06:00
e1dc534877
build target for preprocessing Fusion with wave
2014-01-21 14:17:09 -08:00
92ee36a556
Fixes #8336
...
[SVN r84002]
2013-04-21 14:07:21 +00:00
085c3c25ca
more map tests (including move test)
...
[SVN r82725]
2013-02-04 11:52:18 +00:00
764a31e9f5
fixed typo
...
[SVN r82714]
2013-02-04 06:22:50 +00:00
aba201eb4e
Added more map tests
...
[SVN r82712]
2013-02-04 06:20:10 +00:00
996f4152d2
modern c++11 map implemented
...
[SVN r82707]
2013-02-04 03:46:42 +00:00
6c17c04ce6
Workaround for some tests on C++11 to allow disambiguation of && and const& arguments to ctors
...
[SVN r82631]
2013-01-27 10:14:16 +00:00
6a47d86d72
C++ fixes
...
[SVN r82629]
2013-01-27 07:13:58 +00:00
2f61e2b707
disabling some tests with errors on c++11
...
[SVN r82628]
2013-01-27 04:24:40 +00:00