Boost logo

Boost :

Subject: Re: [boost] [log] Review-ready version in the Vault
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2009-02-12 03:04:49

Andrey Semashev <andrey.semashev <at>> writes:

> Sorry, I don't see much difference between
> logger lg(name);
> and
> logger& lg = name::get();
> The latter looks more descriptive to me. If you like your syntax more,
> you can write a trivial wrapper around "get()" or use flyweight.
> However, after getting a quick look at flyweight docs, it doesn't seem
> to provide inter-module facilities.

There's a component for getting intermodule flyweights:

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

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