|
Boost : |
Subject: Re: [boost] [assign] Boost.Assign is incompatible with std::initializer_list
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2013-12-05 21:52:26
[pfultz2]
> I dont know how much of this is a largely known issue, but this a problem on
> C++11 compilers(such as gcc or clang) that I have seen when I was using
> Boost.Assign on both C++11 compilers and MSVC. I always had to use
> workarounds to get it work on C++11(which Boost.Assign was already a
> workaround for MSVC).
Good to know.
> Yes, ideally, the conversion operator should use default template parameters
> to exclude initializer lists on compilers that support this. I dont know if
> VS 2013 supports default template parameters for functions, or not.
VS 2013 RTM supports default template arguments for function templates. See http://blogs.msdn.com/b/vcblog/archive/2013/12/02/c-11-14-core-language-features-in-vs-2013-and-the-nov-2013-ctp.aspx for my pretty table.
Thanks,
STL
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk