Boost logo

Boost :

Subject: Re: [boost] Proposal: boost::make_array()
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2013-01-13 08:36:50


On 13/01/2013 10:38, Thomas Heller wrote:

> The C++11 code looks too complicated. Wouldn't https://gist.github.com/4522812
> 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.


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