From: George M. Garner Jr. (gmgarner_at_[hidden])
Date: 2004-09-10 15:00:27


Jonathan,

> The problem is here ^^^^^^^ <

Chain.hpp includes code at line 292 that derives the character type from, in
effect, the most derived class:

typedef typename chain_type::char_type char_type;

This yields correct results provided you are consistent in doing this. You
might want to include something like this in your samples since an ounce of
prevention is worth a pound of cure:

STATIC_CHECK(sizeof(char_type) == sizeof(typename output_filter::char_type),
Error_char_type_mismatch_with_base_class)

Also, one good Unicode sample will accomplish more than many pages of
documentation. The samples should show how to accomplish common programming
tasks.

Regards,

George.