Boost logo

Boost :

Subject: Re: [boost] [log] Release candidate 1
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-03-11 09:18:26

On Mon, Mar 11, 2013 at 5:10 PM, Stefan Strasser <strasser_at_[hidden]> wrote:
> okay, if the loggers don't use get() but hold a shared_ptr (and aren't
> destructed yet themselves) the problem doesn't exist anyway. then the
> non-static functions have to be public for the loggers to use.
> I wasn't trying to get into a discussion about how logging during
> termination is best implemented, all I'm saying is that such a corner case
> like logging during termination should not force a regular user to use a
> rather strange interface.
> none of the internals, however they may be, have to change for that.

I don't think that providing two equivalent public interfaces to the
same component is a good idea. There's noting wrong in acquiring a
pointer to the core instance, this is a common practice with

Boost list run by bdawes at, gregod at, cpdaniel at, john at