Boost logo

Boost :

Subject: Re: [boost] [log] Review attempt
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2010-03-09 14:52:01


On 03/09/2010 10:36 PM, Vladimir Prus wrote:

> What are the parsers? If they are for things like
>
> "[%TimeStamp%]: %_%"
>
> then do you actually need Boost.Spirit?

That's the simplest case. Named parameters and escape characters are
also allowed, like that:

[%TimeStamp(format="%Y-%M-%D %H:%M:%S", blah=10)%]:\t%_%

But the syntax of formatters is much simpler than the one of filters,
which support boolean expressions, including parenthesis and
user-defined predicates.


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