|
Boost : |
From: Doug Gregor (gregod_at_[hidden])
Date: 2001-02-03 15:16:28
Hello,
Is there interest in a portable tuple implementation? The vault only
contained
http://groups.yahoo.com/group/boost/files/lambda/Win32%20Port/Tuple.h - it
wasn't complete and hasn't been updated in a while. I was able to port most
of the lambda library's tuples to VC++ except that
- Reference parameters can't be used (reference to reference problem).
- The get<N>(x) retrieval works, but x.get<N>() will not.
I've tested it on VC++ 6.0sp4, g++-2.95.2 (-ansi -pedantic), CVS gcc (-ansi
-pedantic), and Borland C++ 5.5.1 (the get<N>(x) retrieval is broken here -
BCC seems to want to deduce all parameters on its own?).
The code is available at:
http://groups.yahoo.com/group/boost/files/lambda/Win32%20Port/tuple.hpp
Doug Gregor
gregod_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk