Boost logo

Boost :

Subject: Re: [boost] [typeof][scope_exit] VS2017 and option /permissive-
From: Daniela Engert (dani_at_[hidden])
Date: 2017-04-16 08:32:02

Am 15.04.2017 um 23:52 schrieb Peter Dimov via Boost:
> Daniela Engert wrote:
> Tests pass for me on Cygwin g++ 6.3.0 (03/11/14/1z), clang++ 3.9.1
> (03/11/14/1z), msvc-8.0, 10.0, 11.0, 12.0, 14.1.

Great - thanks!

>> +#define BOOST_TYPEOF(expr)
>> boost::type_of::remove_cv_ref_t<decltype((boost::type_of::ensure_obj(expr)))>
> The ensure_obj helper shouldn't be necessary here. The above tests also
> pass with

I remember seeing failures without that in former test runs, but that
might have been caused by other missing pieces.

> I've also enabled Travis for typeof, so any future pushes in the PR
> should be CI-tested.

Thanks a lot, Travis is 'terra incognita' to me.

> Tests fail with msvc-14.1 /std:c++latest because of use of binder1st,
> auto_ptr, unary_function and so on, but that's a separate issue and
> unrelated to these changes, although we'll probably have to fix it at
> some point.

Well, all my tests with msvc-14.0 and msvc-14.1 run with /std:c++latest.
This engages different, c++17-related code paths which already exhibited
an error in one Boost library (fixed now). And test runs with msvc-14.1
have /permissive- attached from now on.


PGP/GPG: 2CCB 3ECB 0954 5CD3 B0DB 6AA0 BA03 56A1 2C4638C5

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