103 Commits
Author SHA1 Message Date
Damien Buhl (alias daminetreg) 37fc1443ad Improve the BOOST_FUSION_ADAPT_STRUCT macro to work also when there is no variadic support.
This enable the following flexible macro signature when there is
no BOOST_PP_VARIADICS support:

BOOST_FUSION_ADAPT_STRUCT(
    struct_name,
    (member_type0, member_name0)
    (BOOST_FUSION_ADAPT_AUTO, member_name1)
    (,member_name2)
    ...
    )

If BOOST_PP_VARIADICS is active then there is quite more flexibility as it
allows to avoid the type specification:

BOOST_FUSION_ADAPT_STRUCT(
    struct_name,
    (member_type0, member_name0)
    (BOOST_FUSION_ADAPT_AUTO, member_name1)
    (,member_name2)
    (member_name3)
    ...
    )
2014-06-13 23:09:29 +02:00
Damien Buhl (alias daminetreg) 944c363787 Remove dependency to variadics macros for the old API not deducing types. 2014-06-13 23:07:49 +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) 04cbf0d4c6 BUGFIX: Presents the correct field name as a string even if type is deduced. 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) 3ca94f5762 DOC: Add some comments to help me understand the adapt macros. 2014-06-13 23:04:09 +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) 435fb5c29f EDITORIAL: Reorganize imports. 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) a5f87696f2 EDITORIAL: Rename the macro for type deduction to a more expressive and correct name. 2014-06-13 23:04:08 +02:00
Damien Buhl (alias daminetreg) 2d37b9c22c EDITORIAL: Fixes typos. 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) 8a132ea44a BUGFIX: Fix include path. 2014-06-13 23:04:08 +02:00
Damien Buhl (alias daminetreg) 5ffab5001e REFACTORING: reused the BOOST_FUSION_AUTO_ADAPT_STRUCT_NAMED_NS macro in BOOST_FUSION_AUTO_ADAPT_STRUCT_NAMED to mimic the non-AUTO versions. 2014-06-13 23:04:08 +02:00
Damien Buhl (alias daminetreg) e58bd91f27 EDITORIAL: fixed indentation. 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) 946957d3dc EDITORIAL: Change parameter names for consistency. 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
Eric Niebler e113b31fdd final gpu-enabling tweaks 2014-01-28 14:32:03 -08:00
Eric Niebler c4f9f0d1b6 gpu-enable functions 2014-01-22 23:55:53 -08:00
Joel de Guzman f9d6e05676 Applied patches for Tickets #7738, #7737 and #7646
[SVN r82348]
2013-01-04 01:43:06 +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 b57cd4ede9 - patch from nathan ridge
- fixed deque regression 

[SVN r80458]
2012-09-09 00:27:37 +00:00
Joel de Guzman 106702d388 Fix to silence MSVC warnings (Nathan Ridge)
[SVN r80368]
2012-09-03 07:08:47 +00:00
Joel de Guzman 038976991e Fixed MSVC errors (from Nathan Ridge)
[SVN r80326]
2012-08-31 04:12:29 +00:00
Joel de Guzman eaf9e79e85 latest patch from Nathan Ridge
[SVN r79306]
2012-07-05 23:40:17 +00:00
Joel de Guzman ed3776ce8c BOOST_FUSION_DEFINE_STRUCT_INLINE patch by Nathan Ridge
[SVN r78508]
2012-05-19 01:24:16 +00:00
Joel de Guzman 0e7a013851 Bumped copyright date
[SVN r74407]
2011-09-16 05:30:23 +00:00
Christopher Schmidt beec2bff62 Fusion: adapt-macros: allow empty boost.pp sequences; refs #5093
[SVN r68303]
2011-01-19 17:46:05 +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 c879ab02c3 fix for adapted classes' category
[SVN r63804]
2010-07-10 10:01:57 +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 83db52797b ADAPT_STRUCT_DEFINE_PROXY_TYPE refactoring
[SVN r61178]
2010-04-10 14:35:13 +00:00
Christopher Schmidt 073ce9e4a3 added intrusive struct generating macros
[SVN r61018]
2010-04-03 13:34:20 +00:00
Christopher Schmidt e67765747d better adapt structs/classes implementation
[SVN r59913]
2010-02-25 20:10:37 +00:00
Christopher Schmidt f84bc30bd3 adapt template classes/structs
[SVN r59846]
2010-02-22 22:55:54 +00:00
Hartmut Kaiser 3873f007e8 Fusion: more work on adapt_struct_named
[SVN r59337]
2010-01-29 01:58:50 +00:00
Hartmut Kaiser e7c00c1843 Fusion adding ADAPT_NAMED_STRUCT
[SVN r59335]
2010-01-28 21:27:32 +00:00
Christopher Schmidt f0cd405f04 mpl::sequence_tag specialization for adapted types
[SVN r58396]
2009-12-15 13:30:02 +00:00
Hartmut Kaiser 03290abb85 Fusion: silenced a couple of MSVC warnings created during Spirit test runs
[SVN r57502]
2009-11-09 03:57:40 +00:00
John Maddock 6d462cbd63 Changed macro BOOST_PARTIAL_SPECIALIZATION_EXPLICIT_ARGS to BOOST_NO_PARTIAL_SPECIALIZATION_DEFAULT_ARGS.
Changed <utility> to <boost/config/no_tr1/utility.hpp> in order to prevent cyclic dependencies between Fusion Tuples and TR1.

[SVN r44692]
2008-04-21 12:06:02 +00:00
Joel de Guzman 2c1a03f785 Removing fusion variant adapter
[SVN r42223]
2007-12-20 23:24:28 +00:00
Joel de Guzman bcbd2ff112 tweakbug fix for end_impl (tweak).
[SVN r42167]
2007-12-19 10:42:04 +00:00
Joel de Guzman 61bf0151da bug fix for end_impl.
[SVN r42164]
2007-12-19 10:33:14 +00:00