Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-07-01 11:28:16

David Abrahams wrote:

>> 1. Make the library interface templated.
>> 2. Use narrow classes: e.g. string
>> 3. Use wide classes: e.g. wstring
>> 4. Have some class which works with ascii and unicode.
>> The first approach is bad for code size reasons.
> It doesn't have to be. There can be a library object with explicit
> instantiations of the wide and narrow classes.

Which doubles the size of shared library itself.

- Volodya

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at