Boost logo

Boost :

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


> 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),

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



Boost list run by bdawes at, gregod at, cpdaniel at, john at