Boost logo

Boost :

Subject: Re: [boost] [review][assign] Formal review of Assign v2 ongoing
From: John Bytheway (jbytheway+boost_at_[hidden])
Date: 2011-06-21 16:07:50


On 20/06/11 18:36, Simonson, Lucanus J wrote:
<snip>
> I very much like initializer list syntax, but the syntax for this
> library doesn't give me any warm feelings. Perhaps we need
> motivating examples and a little bit of rationale for *why* such a
> library should exist. Does it make doing something much easier in a
> templated context or is it just a quest to type less when using
> standard containers in code that looks like the examples? I
> ordinarily only initialize containers to literals when writing unit
> tests.

I think unit tests are indeed an important use case for such a library.
 That's where I use the existing Boost.Assign.

John Bytheway


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