Commit Graph

218 Commits

Author SHA1 Message Date
Damien Buhl (alias daminetreg)
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
Damien Buhl (alias daminetreg)
abff92ab65 Add support for members types deduction to the ADAPT_STRUCT_NAMED macro. 2014-06-25 00:11:40 +02:00
Damien Buhl (alias daminetreg)
f0eab528e9 Fix adapt_struct test which was missing an using keyword. 2014-06-14 11:40:51 +02:00
Damien Buhl (alias daminetreg)
4cf96e14f3 Added test for the new ADAPT_STRUCT API capable to deduce member types. 2014-06-13 23:09:39 +02:00
Damien Buhl (alias daminetreg)
04ce8a788b Enabled new ADAPT_STRUCT_API for ADAPT_TPL_STRUCT. 2014-06-13 23:09:38 +02:00
Damien Buhl (alias daminetreg)
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
Damien Buhl (alias daminetreg)
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
Damien Buhl (alias daminetreg)
6f6bfb3a27 EDITORIAL: Cleaning the ADAPT_STRUCT which can deduce types. 2014-06-13 23:07:32 +02:00
Damien Buhl (alias daminetreg)
703bff4ff9 FEATURE: Types of a struct can freely pe provided or deduced, following the user preferences. 2014-06-13 23:07:32 +02:00
Damien Buhl (alias daminetreg)
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
Damien Buhl (alias daminetreg)
c052b4b452 FEATURE: Making BOOST_FUSION_AUTO_ADAPT_STRUCT variadic. 2014-06-13 23:04:09 +02:00
Damien Buhl (alias daminetreg)
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
Damien Buhl (alias daminetreg)
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
Damien Buhl (alias daminetreg)
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
Damien Buhl (alias daminetreg)
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
Damien Buhl (alias daminetreg)
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
Kohei Takahashi
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
Kohei Takahashi
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
Kohei Takahashi
f7adae2b3d Add test for convert seq to tuple
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-06-09 21:59:06 +09:00
Jamboree
fd3a18ce1a flatten/flatten_view/ref 2014-04-04 14:38:38 +08:00
K-ballo
44d5dca98b Fixed test to work with an explicit operator bool 2014-01-26 19:06:16 -06:00
Eric Niebler
e1dc534877 build target for preprocessing Fusion with wave 2014-01-21 14:17:09 -08:00
Joel de Guzman
92ee36a556 Fixes #8336
[SVN r84002]
2013-04-21 14:07:21 +00:00
Joel de Guzman
085c3c25ca more map tests (including move test)
[SVN r82725]
2013-02-04 11:52:18 +00:00
Joel de Guzman
aba201eb4e Added more map tests
[SVN r82712]
2013-02-04 06:20:10 +00:00
Joel de Guzman
996f4152d2 modern c++11 map implemented
[SVN r82707]
2013-02-04 03:46:42 +00:00
Joel de Guzman
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
Joel de Guzman
6a47d86d72 C++ fixes
[SVN r82629]
2013-01-27 07:13:58 +00:00
Marshall Clow
8d6200ef58 Removed usage of deprecated macros in Boost.Fusion and Boost.Spirit
[SVN r81569]
2012-11-26 18:44:46 +00:00
Joel de Guzman
cfbbba272e Fixes for Ticket #7569 ( Compile Error using BOOST_FUSION_DEFINE_STRUCT_INLINE with VC10 and GCC <4.5 )
[SVN r81165]
2012-11-04 00:18:41 +00:00
Joel de Guzman
a856857cb7 - Fixed code to allow decltype implementation of boost::result_of with BOOST_RESULT_OF_USE_DECLTYPE defined.
- Reverted sequence/iterator.hpp to original <correct-no-workaround> version.

[SVN r80396]
2012-09-04 13:42:14 +00:00
Joel de Guzman
35ec74edbc C++11 fixes for deque
[SVN r80391]
2012-09-04 05:04:25 +00:00
Joel de Guzman
26ba07f36c move-assign test tweaks
[SVN r80346]
2012-09-01 02:02:09 +00:00
Joel de Guzman
e587ad4d50 Added move-assign test
[SVN r80343]
2012-09-01 01:02:46 +00:00
Joel de Guzman
16de1dcd01 Added move ctors for vector and deque (deque for gcc partially working for now)
[SVN r80330]
2012-08-31 14:32:08 +00:00
Joel de Guzman
a3b0cad1e7 latest oatch from Nathan Ridge
[SVN r79305]
2012-07-05 23:39:50 +00:00
Joel de Guzman
136331963a Added test for Ticket #6965
[SVN r79098]
2012-06-26 10:14:49 +00:00
Joel de Guzman
70589c53c6 BOOST_FUSION_DEFINE_STRUCT_INLINE patch by Nathan Ridge
[SVN r78509]
2012-05-19 01:24:55 +00:00
Joel de Guzman
654dfbedb8 patch for clang from Michel Morin
[SVN r78175]
2012-04-24 01:39:43 +00:00
Joel de Guzman
10274e7884 Made map random access. Thanks to Brandon Kohn!
[SVN r74882]
2011-10-10 09:55:52 +00:00
Joel de Guzman
159426b8af Added adapter for std::tuple (only for implementations using variadic templates)
[SVN r74547]
2011-09-24 13:07:24 +00:00
Joel de Guzman
7847f22a2c Bumped copyright date
[SVN r74409]
2011-09-16 05:55:52 +00:00
Joel de Guzman
86063cada9 Bumped copyright date
[SVN r74406]
2011-09-16 05:27:16 +00:00
Eric Niebler
9fcb3105e5 make fold aware of segments
[SVN r73906]
2011-08-18 23:14:48 +00:00
Eric Niebler
9dd14c435e make find and find_if algorithms segment-aware, stylistic consistency tweaks
[SVN r73892]
2011-08-18 17:12:05 +00:00
Eric Niebler
528ad04fdb baking segmented Fusion
[SVN r73854]
2011-08-17 18:53:56 +00:00
Eric Niebler
2baebc560a continue great segmented Fusion reorg
[SVN r73834]
2011-08-16 23:43:24 +00:00
Eric Niebler
2ccb8d604f progress with integrating the segmented Fusion work
[SVN r73831]
2011-08-16 23:07:51 +00:00
Eric Niebler
d9c5b32687 new cleaner(?) implementation for segmented fusion
[SVN r73644]
2011-08-11 04:14:50 +00:00
Eric Niebler
f27ed26e44 make single_view random access
[SVN r72977]
2011-07-08 19:42:35 +00:00
Joel de Guzman
b17d6b9147 Fixes Ticket #5420
[SVN r71025]
2011-04-06 04:29:02 +00:00
Joel de Guzman
b3226a5107 Applied patch #5275
[SVN r70841]
2011-04-01 23:38:39 +00:00
Christopher Schmidt
088b8a0201 Fusion: ADAPT_xxxADTxxx; documentation&new testcase
[SVN r65816]
2010-10-07 20:38:54 +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
Christopher Schmidt
aa1bcfaa9a refactored extension::struct_member to extension::access::struct_member
[SVN r64490]
2010-07-31 00:17:34 +00:00
Christopher Schmidt
ea89db72cb added reverse_fold/iter_fold/reverse_iter_fold (1)
[SVN r63066]
2010-06-17 21:21:37 +00:00
Steven Watanabe
c9a5364472 Clean up GCC warnings. Fixes #3033.
[SVN r62869]
2010-06-12 17:59:10 +00:00
Steven Watanabe
7c986ebd61 Clean up MSVC build. Fixes #1619. Fixes #3074.
[SVN r62854]
2010-06-12 15:58:31 +00:00
Christopher Schmidt
6465c3b3ea adapted proxy types are views now
[SVN r61833]
2010-05-07 13:37:34 +00:00
Christopher Schmidt
073ce9e4a3 added intrusive struct generating macros
[SVN r61018]
2010-04-03 13:34:20 +00:00
Christopher Schmidt
f84bc30bd3 adapt template classes/structs
[SVN r59846]
2010-02-22 22:55:54 +00:00
Christopher Schmidt
47f535df5b adapt plain old array types (2)
[SVN r59577]
2010-02-07 18:48:09 +00:00
Christopher Schmidt
5eb9c03cd2 adapt plain old array types (1)
[SVN r59576]
2010-02-07 18:22:06 +00:00
Hartmut Kaiser
b86d7dbe80 Fusion: fixed ambiguities in tests on VC10
[SVN r59347]
2010-01-29 16:02:14 +00:00
Hartmut Kaiser
83ed7ffada Fusion: minor fix for adapt_class_named
[SVN r59346]
2010-01-29 15:45:50 +00:00
Hartmut Kaiser
c24441c83d Fusion: added tests for adapt_class_named
[SVN r59341]
2010-01-29 15:04:57 +00:00
Hartmut Kaiser
0d5ff2fc01 Fusion: added tests for adapt_struct_named
[SVN r59339]
2010-01-29 13:49:38 +00:00
Christopher Schmidt
f0cd405f04 mpl::sequence_tag specialization for adapted types
[SVN r58396]
2009-12-15 13:30:02 +00:00
Christopher Schmidt
2587757d47 corrected reverse_view
[SVN r58299]
2009-12-11 21:01:22 +00:00
Christopher Schmidt
9b26b4a0f7 associative iterators & views
[SVN r57156]
2009-10-25 22:59:54 +00:00
Hartmut Kaiser
9ebe273fb3 Fusion: fixing nview tests
[SVN r56609]
2009-10-05 22:29:10 +00:00
Joel de Guzman
9a1bc7d677 BOOST_FUSION_ADAPT_CLASS
[SVN r56576]
2009-10-04 16:59:50 +00:00
Hartmut Kaiser
10c0665ffa Fusion: added nview and friends, docs and tests
[SVN r56377]
2009-09-25 00:21:53 +00:00
Joel de Guzman
14b27978e3 Fix #1601
[SVN r54849]
2009-07-10 00:49:51 +00:00
Joel de Guzman
363ff5750f fix trac issue #1608
[SVN r53914]
2009-06-15 01:53:43 +00:00
Joel de Guzman
7c8f9e3b6d changed as_vector to return the numbered forms (i.e. vectorN)
[SVN r49777]
2008-11-16 00:59:42 +00:00
Joel de Guzman
e165418461 conform to TR1 to the letter
[SVN r48243]
2008-08-20 08:20:19 +00:00
Beman Dawes
8b749bef46 With his kind permission, change Jaakko "Järvi" to "Jarvi"
[SVN r46808]
2008-06-28 13:45:21 +00:00
Joel de Guzman
f199472458 Removing fusion variant adapter
[SVN r42224]
2007-12-20 23:28:26 +00:00
Joel de Guzman
67279d5c3d bug fix for end_impl. (test)
[SVN r42165]
2007-12-19 10:33:39 +00:00
Dan Marsden
4919faec58 removing failing test on EDG compilers
[SVN r41117]
2007-11-15 21:15:47 +00:00
Eric Niebler
d785c34d56 fix support for segmented iteration
[SVN r41093]
2007-11-14 16:36:15 +00:00
Joel de Guzman
a326739705 Regenerating/reorganizing docs
[SVN r40832]
2007-11-06 12:13:52 +00:00
Tobias Schwinger
17e42e5650 reverts clobbered changes before merge
[SVN r40479]
2007-10-26 12:16:37 +00:00
Joel de Guzman
7c85a51d48 Fusion 2.1 one more time with care
[SVN r40390]
2007-10-24 02:32:28 +00:00
Tobias Schwinger
839b519852 adjusts test: deduce_sequence removes top-level cv-qualifiers from element types, now
[SVN r40355]
2007-10-23 13:26:56 +00:00
Joel de Guzman
fc1df001c6 reverting to 2.0
[SVN r40219]
2007-10-20 22:21:43 +00:00
Joel de Guzman
e894481f5b phase4: refactoring for v2.1
[SVN r40212]
2007-10-20 13:13:46 +00:00
Joel de Guzman
d0d540064d phase3: refactoring for v2.1
[SVN r40210]
2007-10-20 11:49:17 +00:00
Dan Marsden
eb79a48868 testing zero length sequences have converting ctors
[SVN r38156]
2007-07-06 20:48:04 +00:00
Dan Marsden
0fcbc5b467 result_of and polymorphic function obj compatibility
[SVN r37962]
2007-06-11 07:01:05 +00:00
Dan Marsden
dfcadb449b tests for assoc struct adaptor
[SVN r37639]
2007-05-08 22:16:09 +00:00
Dan Marsden
a1b7949dce tests for swap
[SVN r37553]
2007-05-01 20:57:15 +00:00
Joel de Guzman
5e9e7f31a4 wrong library, FUSION, not SPIRIT
[SVN r37332]
2007-04-02 05:13:25 +00:00
Joel de Guzman
bf05751f9e added BOOST_SPIRIT_ADAPT_STRUCT macro
[SVN r37331]
2007-04-02 04:34:24 +00:00
Tobias Schwinger
1a1b40925b adds repetitive_view test
[SVN r37257]
2007-03-21 18:41:35 +00:00
Dan Marsden
f8d675d38d added some simple tests for map_tie
[SVN r37248]
2007-03-20 21:33:12 +00:00
Dan Marsden
fad42340ad zip ignore capabilities
[SVN r37149]
2007-03-06 21:26:54 +00:00
Joel de Guzman
92e7e32ed8 update copyright notice
[SVN r37131]
2007-03-02 10:44:14 +00:00
Tobias Schwinger
4d65880283 removes test for obsolete unpack_args
[SVN r37073]
2007-02-25 22:15:08 +00:00
Dave Abrahams
f0abc88775 Correct testing bugs:
either changing assert(...) or BOOST_ASSERT(...) to BOOST_TEST
    (in my code only)

    or adding "return boost::report_errors();" where it was clearly
    missing (and a pure bug, in anyone's code).


[SVN r37057]
2007-02-24 22:40:59 +00:00
Joel de Guzman
f975648eea vc7.1 bugfix
[SVN r36919]
2007-02-09 12:16:50 +00:00
Tobias Schwinger
1c542fa544 introduces test for deduce / deduce_sequence
[SVN r36812]
2007-01-27 10:49:00 +00:00
Joel de Guzman
bc7d10ec94 added is_empty test
[SVN r36725]
2007-01-14 03:22:54 +00:00
Joel de Guzman
2be540e903 some updates
[SVN r36555]
2007-01-01 02:23:51 +00:00
Dan Marsden
6ed683b610 added deque tests
[SVN r36458]
2006-12-18 22:36:43 +00:00
Dan Marsden
fe9949a59c added variant traits tests
[SVN r36019]
2006-11-13 08:13:12 +00:00
Dan Marsden
6860872d7b adding tests for variant as adapted sequence
[SVN r36015]
2006-11-12 23:08:59 +00:00
Dan Marsden
d2d2d0aa3e added transform view test covering value_at
[SVN r35805]
2006-11-01 08:03:15 +00:00
Dan Marsden
82e6dfd876 added tests for at_c on transform view
[SVN r35783]
2006-10-29 21:17:22 +00:00
Joel de Guzman
1c3c70f4cc added test for returning a tuple of double with conversion from a tuple of ints
[SVN r35740]
2006-10-25 09:05:00 +00:00
Joel de Guzman
3732bb538a comeau, intel has problems with this
[SVN r35689]
2006-10-22 10:23:04 +00:00
Eric Niebler
114556bbba experimental segmented Fusion support
[SVN r35493]
2006-10-05 01:25:32 +00:00
Joel de Guzman
3f27fbe969 support for boost::tuples
[SVN r35350]
2006-09-27 00:42:32 +00:00
Joel de Guzman
654fd0918e prelude to iterator_facade and sequence_facade
[SVN r35316]
2006-09-25 08:37:16 +00:00
Joel de Guzman
1633f967aa fixed bug in test
[SVN r35269]
2006-09-22 00:17:30 +00:00
Joel de Guzman
c31253d8c1 adding fusion docs and tests
[SVN r34920]
2006-08-22 15:57:13 +00:00