|
Boost Users : |
Subject: Re: [Boost-users] [fusion] BOOST_FUSION_DEFINE_STRUCT with user defined methods
From: Tobias Loew (Tobias.Loew_at_[hidden])
Date: 2014-09-10 12:46:13
Hi Damien,
sorry for the late reply. Thanks for the offer to work on a new set of
fusion-struct macros.
I'd really like to be involved.
The idea of using metaparse sounds interesting for parsing the options, what
kind of constructors or operators to generate, but I can't see how this
could help analyze the members and its names of a user defined struct like
in the example you gave.
(AFAIK this would require some kind of static reflection, which would
involve preprocessor-programming.)
Could you give some of your thoughts on how it could be done?
I'll give it a try with the DEFINE_STRUCT BEGIN and END macros and post my
results
(though it probably will be the quite obvious result)
best regards
Tobias
-- View this message in context: http://boost.2283326.n4.nabble.com/fusion-BOOST-FUSION-DEFINE-STRUCT-with-user-defined-methods-tp4666985p4667438.html Sent from the Boost - Users mailing list archive at Nabble.com.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net