Boost logo

Boost :

Subject: Re: [boost] [config] Visual C++ 2013 RC support - variadic template failures
From: Beman Dawes (bdawes_at_[hidden])
Date: 2013-09-21 09:18:41


On Sat, Sep 21, 2013 at 2:16 AM, Niall Douglas <s_sourceforge_at_[hidden]>wrote:

> On 20 Sep 2013 at 17:22, Stephan T. Lavavej wrote:
>
> > [Niall Douglas]
> > > I fear the cause may be the same brittle N3276 decltype VS2013
> > > implementation I found breaking my variadic template overloads in
> > > AFIO. The main problem I found is that VS2013's decltype is too quick
> > > to generate compile errors when fed an attempt to invoke call on a
> > > non-callable.
> >
> > That sounds like you're trying to use Expression SFINAE, which VC does
> > not yet support in full generality, instead of N3276 decltype, which
> > specifically revolves around the completeness of call expression types.
>
> You're right of course, but it's hard for me to work around VS2013's
> limitations here without being able to specialise a template for
> lambda types.
>
> Would you know Stephan how to do this on VS2013? I appreciate if it
> were easy you'd have already fixed the std::result_of<> shipped in
> the STL, but maybe it's easier than I am thinking?
>

If it would help the workaround, we can add an additional
BOOST_NO_CXX11_WHATEVER macro. Just let me know.

--Beman


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