Boost logo

Boost :

Subject: Re: [boost] [unordered] Visual C++ 2013 initializer_list overloadfailure.
From: Peter Dimov (lists_at_[hidden])
Date: 2013-10-19 17:25:18


Daniel James wrote:
> Does anyone know which compiler is doing the right thing? I assume it's a
> Visual C++ bug, but I'm not sure.

I was so intrigued by string{"a","b"} (*) that I asked on c++std-core, and
while so far there's been no authoritative answer as to whether VC++ is
right or not (too early for that), Johannes Schaub has kindly pointed me to

http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#2238

and

http://stackoverflow.com/q/14587436/34509

which deal with similar issues.

(*) For the interested, this appears to call the InputIterator constructor,
with predictable results.


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