|
Boost : |
Subject: Re: [boost] [preprocessor] Warning: Incoming
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-07-01 19:07:04
On 07/02/2011 12:44 AM, Paul Mensonides wrote:
> (I
> do believe, however, that std::initializer_list<T> is a misfeature. I
> personally think the { a, b, c } should have been mapped onto a
> constructor call taking a, b, and c--which may or may not use variadic
> templates).
Both are possible in C++0x.
That's how you initialize tuples.
Unary tuples cause somewhat of a problem though.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk