Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-05-01 20:09:52

"Eric Zijlstra" <ezijlstra_at_[hidden]> wrote in message
|I was looking for a convinient way to have variabele arguments for functions
| and avoiding the memory allocations and copying that come with std
| containers. I didn't find such a container so I hacked one together myself.
| The container builds a linked list by storing pointers to the arguments in
| temporary node objects (StackArg).

Just to let you know, I (*) tried this approach too and found it to be slower
than using the array of pointers.
(Thanks to Jens Theisen for showing me his ingeneous design that even could
calculate the list size at compile-time!)


Boost list run by bdawes at, gregod at, cpdaniel at, john at