
15 Jan
2013
15 Jan
'13
9:06 p.m.
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/qOvWAYJS... -- Marc Glisse