From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-05-28 02:28:27
Pavol Droba wrote:
> I have been reading the discussiong here about adding the support for
> Maybe there is a solution which would allow to have templated versions of
> relevant classes AND static library in one box.
> If we decide that specialization for char and wchar_t is sufficient, the
> headers can contain generic template based declarations, but the
> implementation will be given only for particular cases ( char and wchar_t
> ) and so it can be included in the static lib.
Oh.. that's yet another approach. I *really* feel Boost-wide solution is
> Similar idea is used in stl for streams, strings and locales.
I though that's different. I need to check out again, but IIRC, RW STL
shipped with borland's free compiler had all string definitions in headers.
> With a help from preprocessor, it should be easy to define two variants
> in one place.
> Also that could a possibility, that the .cpp file will be included as
> headers all this can be done using macros.
Yep. Another viable option.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk