Boost logo

Boost Users :

Subject: Re: [Boost-users] [fusion] BOOST_FUSION_ADAPT_STRUCT private members?
From: Matthias Vallentin (vallentin_at_[hidden])
Date: 2009-06-24 08:56:26


On Thu, May 28, 2009 at 04:24:01PM +0200, Stephan Menzel wrote:
> > No. But what I am planning instead is to provide a class adapter with
> > user defined getters/setters. Would that help?
>
> It would, if such construct would be a little more flexible than the
> macro. I don't want to complain about it since it does the job but
> sometimes I just like to save the hassle with a data only transfer
> struct and parse directly into a class without having all members
> public.

I currently use the "transfer struct" method as well to get around this
issue and therefore would like to articulate my interest in such an
adapter as well.

   Matthias

-- 
Matthias Vallentin
vallentin_at_[hidden]
http://www.icir.org/matthias

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