Boost logo

Boost :

From: Kevin S. Van Horn (kevin.vanhorn_at_[hidden])
Date: 2002-02-18 10:23:09


On Mon, 18 Feb 2002, Emily Winch wrote:

> > "What are the most needed or desired features in
> > C++ for modern library writing in general and Boost in particular?"
> > [...]
> "Auto" for type deduction.
>
> template<typename T, int I>
> auto foo(); // return type depends on T and I
>
> auto bar = foo<int, 4>();

I heartily second this suggestion!


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