Boost logo

Boost :

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


"Eric Zijlstra" <ezijlstra_at_[hidden]> wrote in message
news:d4un8k$tvr$1_at_sea.gmane.org...
|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!)

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk