|
From: Klaus S. <kl...@sp...> - 2009-11-13 20:53:15
|
Hi Mark, On Friday 13 November 2009 21:01:57 Mark joshi wrote: > Ok you've convinced me that valarray is bad. I hate classes where = > doesn't do what you expect! > > vector<bool> is bad too. > > Maybe we should be using a boost class for arrays of bools. I'm using deque<bool> as a drop-in replacement for vector<bool> because deque<bool> is usually faster than vector<bool> (but needs more memory). cheers Klaus |