Boost logo

Boost :

Subject: Re: [boost] [log] Boost.Log formal review
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-03-10 02:06:16


Andrey Semashev wrote:

> It looks like you're missing the difference between attributes and
> attribute values.
> Attributes do not represent any values, most of the time. For instance,
> a function that returns the current time stamp can be an attribute.
> Attribute values, on the other hand, do represent values (the concrete
> time readings in the example), and these values are processed by the
> most part of the library. So there is no way around constructing a view
> of attribute values. Also, dealing with a single view is much easier
> than with a number of distinct sets.

Don't you think that using the word 'attribute' to mean 'function that
computes attribute value' is bound to cause confusion? Is there some
better name?

- Volodya


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