Boost logo

Boost :

Subject: Re: [boost] Proposal: boost::make_array()
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2013-01-13 11:23:35

On Sunday, January 13, 2013 14:36:50 Mathias Gaunard wrote:
> On 13/01/2013 10:38, Thomas Heller wrote:
> > The C++11 code looks too complicated. Wouldn't
> > be enough?
> I don't think it is a good idea that make_array(1, 1., 1.f) makes an
> array of int.
> It seems quite arbitrary that the first argument would decide the type.

Right. That is another problem. I just tried to simplify the implementation of
the original proposal.

Boost list run by bdawes at, gregod at, cpdaniel at, john at