|
Boost Users : |
Subject: Re: [Boost-users] [fusion] BOOST_FUSION_ADAPT_STRUCT private members?
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-05-28 09:08:05
Stephan Menzel wrote:
> Hi there,
>
> I'm looking for a way to BOOST_FUSION_ADAPT_STRUCT() private members of a struct.
> Is this possible?
>
> I'd like to parse with spirit2 directly into a struct with getters that should not be bypassed.
No. But what I am planning instead is to provide a class adapter with
user defined getters/setters. Would that help?
Regards,
-- Joel de Guzman http://www.boostpro.com http://spirit.sf.net
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