Boost C++ Libraries: Ticket #9516: Version of ADAPT_STRUCT that does not require specifying the types of the fields https://svn.boost.org/trac10/ticket/9516 <p> BOOST_FUSION_ADAPT_STRUCT requires repeating the types of the fields of the structure being adapted, as well as their names. </p> <p> With C++11 decltype and its C++03 emulation BOOST_TYPEOF, we can eliminate the need to repeat the types. </p> <p> See <a class="ext-link" href="http://thread.gmane.org/gmane.comp.lib.boost.devel/247607"><span class="icon">​</span>http://thread.gmane.org/gmane.comp.lib.boost.devel/247607</a> for a proposal. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9516 Trac 1.4.3 Damien Buhl (alias daminetreg) <damien.buhl@…> Sun, 22 Dec 2013 20:20:57 GMT <link>https://svn.boost.org/trac10/ticket/9516#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9516#comment:1</guid> <description> <p> Thanks Nathan for creating the ticket. ;) </p> <p> Here is the link to the Boost.Fusion fork where I'm preparing the pull-request to add this feature : github.com/daminetreg/fusion </p> <p> Cheers </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Sun, 22 Dec 2013 23:36:09 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9516#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9516#comment:2</guid> <description> <p> Since you have the momentum going, it would be great to finally clean up all the macros into something better structured (cleaner code). What do you think? </p> </description> <category>Ticket</category> </item> <item> <author>Damien Buhl (alias daminetreg) <damien.buhl@…></author> <pubDate>Sat, 04 Jan 2014 08:00:58 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9516#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9516#comment:3</guid> <description> <p> What do you mean by cleaning, do you see something specific that could improve the existing macros ? I don't see so much obvious things that could be made cleaner, but I'm probably blind. :) </p> <p> The first Idea that comes to me is that I could add the type detection to the detail/adapt_base.hpp macros, instead of building on top of the existing macros as my first implementation does. </p> <p> I think I should do it in 2 steps : first bringing the BOOST_FUSION_AUTO_* versions of the macros and adapting the tests and then I could begin with refactoring the existing macros. </p> </description> <category>Ticket</category> </item> <item> <author>Damien Buhl (alias daminetreg) <damien.buhl@…></author> <pubDate>Wed, 05 Mar 2014 00:23:47 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9516#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9516#comment:4</guid> <description> <p> Just for reference, the pull-request which contains the patch for this issue is available on github at : <a class="ext-link" href="https://github.com/boostorg/fusion/pull/3"><span class="icon">​</span>https://github.com/boostorg/fusion/pull/3</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Fri, 31 Oct 2014 00:38:30 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9516#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9516#comment:5</guid> <description> <p> I guess we can close this now. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Fri, 31 Oct 2014 00:38:44 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9516#comment:6 https://svn.boost.org/trac10/ticket/9516#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket