Boost logo

Boost :

From: George M. Garner Jr. (gmgarner_at_[hidden])
Date: 2004-09-11 15:14:23


Johnathan,

> Could you be more specific? There are many places in the source where I
> use
> static asserts to make sure character types match. <

I am referring to the six samples provided with the source, only five of
which derive a class from input_filter or output filter. Perhaps the better
approach would be, in the samples, to derive from
filter<input, char> or filter<output, char> instead of input_filter or
output_filter. You could note in a comment that input_filter,
input_wfilter, output_filter and output_wfilter are short hand for
filter<input, char>, filter<input, __wchar_t>, filter<output, char> and
filter<output, __wchar_t>, respectively. One good sample is worth many
pages of documentation.

Regards,

George.

P.S. Sorry about the subject line but at this point I have no idea of what
it should be.


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