|
Boost : |
From: Gary Powell (Gary.Powell_at_[hidden])
Date: 2001-06-18 10:37:22
Tuples:
Tuples are an extension and possible replacement of the concept std:pair.
Full papers on tuples can be found at
http://www.tucs.abo.fi/publications/techreports/TR267.html
and
http://www.tucs.abo.fi/publications/techreports/TR249.html
and referenced in
http://www.tucs.fi/publications/techreports/TR170.html
Examples of usage are to have multiple return objects without having to
define new unique structures and as a form of typelist (with objects, or
references to objects) for use in expression templates and generative
programming. While the concept is simple the application can be quite
complex.
Yours,
-gary-
gary.powell_at_[hidden]
PS
The original Microsoft port was done by Douglas Gregor. Lack of partial
specialization prevents it from being used with references to objects but it
is still amazing that he got it to work at all.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk