Boost logo

Boost :

From: rogeeff (rogeeff_at_[hidden])
Date: 2001-12-12 20:58:42


--- In boost_at_y..., "urzuga" <jaakko.jarvi_at_c...> wrote:
> The proposed changes are in the CVS.
>
> The libs/tuple/src/tuple.cpp is not needed anymore, and is removed.
>
> So now the whole library is in header files! Thanks Harmut.
>
> > > > Would it be better to implement functions like
get_stream_index
> > > > inline instead of static?
> > >
> > > That's impossible (in this case), because the stream_index is
used
> > from
> > > inside static functions.
> > >
> > > Regards Hartmut
> >
> > So what? Sorry, maybe I just missing something. Could you give an
> > example.
> >
> In this case the function needs to be static, as all other member
> functions in format info are static too. No format_info objects are
> ever created.
>
> Cheers, Jaakko

stream_index is an array of constants. Take it out of format_info and
make it inline.

Gennadiy.


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