Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2005-05-27 05:42:01


"Alexander Nasonov" <alnsn-boost_at_[hidden]> wrote

> sizeof(get<0>(foo()));
> sizeof(get<1>(foo()));
> sizeof(get<2>(foo()));
> sizeof(get<3>(foo()));

Interesting :-)

This is very close to the technique I originally used, before deciding to
pass the position directly into foo(), and renaming it with "at()".

Regards,
Arkadiy


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