Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-07-08 10:56:06


David Abrahams wrote:
> From: "Rene Rivera" <grafik666_at_[hidden]>
>
> > [2002-07-08] Vladimir Prus wrote:
> > >Hello,
> > >I'm now working to move all the Boost.Build data from the namespace of
>
> the
>
> > >modules used to Jamfiles. The motivation is to leave a clean namespace
> >
> > where
> >
> > >user can do whatever he likes.
> > >
> > >I've nearly done with this part, but it's gonna be a large commit, so
>
> I'm
>
> > >asking for comments. I've decided to leave exactly two things in the
> >
> > jamfile
> >
> > >modules. First is "__attributes__" variable, which keeps an instance of
> > >"project-attributes" class. Second is the convernience method
> > >"__attribute__", which allows to write
> > >
> > > local p = <some jamfile module> ;
> > > local requirements = [ $(p).__attribute__ requirements ] ;
>
> IMO a "convenience method" should never be named __with__ __double__
> __underscores__ <wink>.

Since that rule will live in the namespace of jamfile modules, I think that
only such names are at our disposal. Don't you think?

- Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk