Subject: Re: [boost] [typeof][scope_exit] VS2017 and option /permissive-
From: Daniela Engert (dani_at_[hidden])
Date: 2017-04-16 08:37:25
Am 16.04.2017 um 00:11 schrieb Peter Dimov via Boost:
> I'd think that if we hit the decltype case, we no longer need to enter
> the compiler-specific branches below that. So
> #if !defined(BOOST_NO_CXX11_DECLTYPE) &&
> !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) &&
> # define BOOST_TYPEOF_DECLTYPE
> # if !defined(BOOST_TYPEOF_NATIVE)
> # define BOOST_TYPEOF_NATIVE
> # endif
> #elif defined(__COMO__)
> perhaps? Tested as before.
True. The pull-request is reworked along that line and I like the result
of that much more than my original code. It has the additional benefit
that it can be easily rebased or cherry-picked onto master (like I do
with my take on Boost 1.64).
My tests with msvc pass, and Travis is happy with it as well.
-- PGP/GPG: 2CCB 3ECB 0954 5CD3 B0DB 6AA0 BA03 56A1 2C4638C5
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk