Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-02-18 11:08:58


It's not really very different from deduced types in function template
arguments.

-Dave

----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>

> From: <nbecker_at_[hidden]>
> > >>>>> "joel" == joel de guzman <djowel_at_[hidden]> writes:
> >
> > joel> Next to typeof(x), I'd love to see Dave (Abraham's) "auto" for
> type deduction.
> > joel> auto v = an_arbitrarily_complex_expression;
> >
> > Wow. c++ has always been strongly typed. Doesn't this potentially
> > have far reaching consequences?
>
> No, it remains strongly typed. You're simply allowed to omit the type in
the
> declaration, nothing more.


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