Boost logo

Boost :

Subject: Re: [boost] [unordered] Visual C++ 2013 initializer_list overload failure.
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2013-10-19 14:40:55


Daniel James wrote:
> x.insert("a");
> x.insert({"a"});
> x.insert({"a", "b"});

Indeed; VC12 chokes on the second and third calls to insert(): "error
C2668: 'thing<std::string>::insert' : ambiguous call to overloaded
function".

Glen


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