
25 Jul
2010
25 Jul
'10
8:25 a.m.
On 24/07/10 15:49, Tim Blechmann wrote:
1. "Limitation: The fifo class is limited to PODs". I really would like to be able to use this with arbitrary objects. I'm sure PODs are required for good reason, but a rationale somewhere would be greatly appreciated.
it is a limitation of the michael/scott algorithm. if you want to pass non- pods, you have to use heap-allocated pointers.
What exactly about PODs is it taking advantage of? In C++0x will it work for all standard layout types? John Bytheway