Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-06-30 12:03:54


From: "David Abrahams" <david.abrahams_at_[hidden]>

> From: "Peter Dimov" <pdimov_at_[hidden]>
> > [In passing - I believe that argument
> > deduction should be enabled for constructors, making make_* functions
> > obsolete.]
>
> I don't think that would obsolete object generators. Sometimes the actual
> type is much more complicated than you would want to name. See the
> iterator_adaptors library.

I didn't say anything about object generators in general. :-) Only that I
don't see any benefit in requiring 'std::make_pair(1, 2)' instead of simply
allowing 'std::pair(1, 2)'.

I spell the type in both cases, so this particular kind of object generator
is redundant.

--
Peter Dimov
Multi Media Ltd.

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