Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-02-21 06:21:32


From: "Herb Sutter" <hsutter_at_[hidden]>
> Thanks for all the replies. I'm digesting them.
>
> What are the exact semantics of auto?

auto x = expr;
// do something with x

is equivalent to

template<class X> void do_something_with_x(X x);
do_something_with_x(expr);


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