From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2001-11-28 12:09:06
From: "David Abrahams" <david.abrahams_at_[hidden]>
> They're only aliases if you look at them as types. I'm looking at them as
> metafunctions. They are identity metafunctions which return the same
> type/value which has been passed to them.
None of type2type nor int2type have the identity function as their main use.
(After all, identity is hardly an interesting function). Their main use is
to convert, as their name says, a type to a type and an integer to a type,
respectively. See http://www.cuj.com/experts/1810/alexandr.htm.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk