Boost logo

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?


Joel de Guzman

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at