|
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 hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net