Boost logo

Boost :

Subject: Re: [boost] RFC - Updated MapReduce library
From: Craig Henderson (cdm.henderson_at_[hidden])
Date: 2009-08-09 13:02:23


> Craig Henderson wrote:
> > But my static method interface solves the problem. Is that not better
> than
> > documenting a side-effect?
> >
> What will happen if you add a static data ? Won't be shared and
> accessible through the map functor in the same way ?

Yes, if it were used to share data between instances, but that is easier for
the developer (library user) to understand than documenting a side-effect of
doing something more natural like adding instance data. The static interface
surely discourages this activity?

Regards
-- Craig


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk