Boost logo

Boost :

From: Samuel Krempp (krempp_at_[hidden])
Date: 2001-12-19 14:10:04


On Wed, 2001-12-19 at 20:03, Karl Nelson wrote:
> Okay. That is sensable. They need to be separate classes and
> strict complience one is provided. (Did not see that when I

do they really need to be separate ?
only the parsing code is different, and is placed in 2 separate
functions.
so my idea was to have one class for both modes, with a bool flag given
at construction to tell which mode we want.

pformat is a wrapper function that constructs an object with this flag
set accordingly.

The user should not have to call this constructor and set the flag
manually, so wrappers are provided.

-- 
Sam

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