
18 Mar
2005
18 Mar
'05
8:15 p.m.
Felipe Magno de Almeida wrote:
So what's the advantage of using std::basic_string over, say, std::vector ?
reference counting optimization and maybe others, where there is.
While I agree that ref counting might be a good optimization, this is an implementation detail and not an excuse to impose an interface (with all the semantics that come with it) that doesn't fit. Regards, Stefan