From: Bohdan (gejrlaug_at_[hidden])
Date: 2003-05-13 13:26:52
Just curious, isn't it better to make it as template-inline only library ?
c# implements delegates as a part of language...
It would be nice to have it in c++ without dealing with linker.
Main reason why linker is bad is that there a lot of different library
MT <-> single threaded,
std lib as dll <-> statically linked,
in dll <-> static lib
debug <-> release
And dealing with bunch of libraries ( even if you have one compiler on PC ... )
isn't good idea for such general and frequenly used library.
The other option can be conidional #pragma comment ... for compilers which
support this feature.
But IMHO template-inline would be still better, of course if there are no
reasons for current design.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk