Re: [Boost-bugs] [Boost C++ Libraries] #9516: Version of ADAPT_STRUCT that does not require specifying the types of the fields

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9516: Version of ADAPT_STRUCT that does not require specifying the types of the fields
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-04 08:00:58


#9516: Version of ADAPT_STRUCT that does not require specifying the types of the
fields
--------------------------------------+---------------------
  Reporter: nathanridge | Owner: djowel
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: fusion
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+---------------------

Comment (by Damien Buhl (alias daminetreg) <damien.buhl@…>):

 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. :)

 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.

 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9516#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC