Re: [sigc] Implementatoin in .cc file



Am 2004.02.13 19:54 schrieb(en) Murray Cumming:
On Fri, 2004-02-13 at 12:57, Martin Schulze wrote:
> Am 2004.02.10 15:30 schrieb(en) Murray Cumming:
> > I noticed that libsigc++ 2 has some method implementation in the
.h
> > files - for instance slot_base in slot.h. This should be in a .cc
> > file.
> > I'll try to get around to fixing it.
>
> Then we need a benchmark to see the performance drop of having these
> functions non-inline!

Maybe. Note that anything already marked as inline with the inline
keyword will stay inline. I'm checking some changes in now.

Ah, I wasn't aware of that! Then the functions we move into the
implementation files should probably all be marked as inline.

Martin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]