$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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