Boost logo

Boost :

Subject: Re: [boost] Proposal: boost::make_array()
From: Marc Glisse (marc.glisse_at_[hidden])
Date: 2013-01-15 16:06:56


On Tue, 15 Jan 2013, Mathias Gaunard wrote:

> On 13/01/2013 23:41, Marc Glisse wrote:
>> it would be
>> really cool if make_array<type>(a, b, c) also worked (using the same
>> name makes it a bit complicated though).
>
> I don't see how using the same name brings any problem.

I didn't say it was impossible, just a bit more complicated, since you
need to introduce this type as a template argument with a dummy default
value.

By the way, a link to Daniel Krügler's implementation of make_array:

https://groups.google.com/d/msg/comp.lang.c++.moderated/8aWhRRsAO-w/qOvWAYJSaTUJ

-- 
Marc Glisse

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