Boost logo

Boost :

Subject: Re: [boost] [unordered] Visual C++ 2013 initializer_listoverloadfailure.
From: Peter Dimov (lists_at_[hidden])
Date: 2013-10-19 17:35:07

> 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...

Johannes Schaub again kindly points us out to last bullet:

— List-initialization sequence L1 is a better conversion sequence than
list-initialization sequence L2 if L1 converts to std::initializer_list<X>
for some X and L2 does not.

which means that g++ and clang are right and VC++ is wrong in this specific

Boost list run by bdawes at, gregod at, cpdaniel at, john at