|
Boost : |
From: Gary Powell (powellg_at_[hidden])
Date: 2002-02-18 16:33:07
I think that Dave A. mentioned this in the list of things broken in C++98,
But it deserves a second mention:
Adding things to the namespace "std"
i.e.
template<class A, class B>
class Myclass;
namespace std {
template<class A, class B, class C, class D>
void swap( Myclass<A, B> &, Myclass<C, D> );
};
----------------------------------------------------------------
Allocators: They're broken. I wish I knew how to fix them, so I'm
hoping someone on the list will chime in with the necessary suggestions.
Besides the fact that containers should be forced to use the typedefs
they provide. (See Meyers #10 "Effective STL" ) All I've managed to
realize is that I can't solve my memory issues with them. (Shared memory,
special smart pointers without smart references etc.) Perhaps forcing
allocators to provide a operator==() to test for state vs stateless versions
would help. But there may be more.
------------------------------------------------------------------
A standardized list of locale names. Or at least a first cut file
where I can get US, Denmark, UK, Swiss_German, Swiss_Italian...whatever.
I know it can't be complete, but the current state of affairs makes them
not usable.
-Gary-
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk