Boost logo

Boost :

Subject: Re: [boost] [teeks99-09-p-win2016-64on64][poly_collection] Regression with latest MSVC 14.1 in C++17 mode
From: Joaquin M López Muñoz (joaquinlopezmunoz_at_[hidden])
Date: 2018-02-28 16:01:25


El 28/02/2018 a las 16:14, Peter Dimov via Boost escribió:
> [...]
>
> Moving the `using` above the `not_done:` label fixes it:
>
>  using difference_type=
>    typename std::iterator_traits<ForwardIterator1>::difference_type;
>
> not_done:
>
>  difference_type l1=std::distance(first1,last1);
>  if(l1==difference_type(1))return false;

What a curious compiler bug! Thank you very much.

> You could have used Appveyor for that by the way - if you set it up to
> test feature branches, you can then test those changes on a branch.
> Like https://github.com/boostorg/smart_ptr/blob/develop/appveyor.yml
> for instance.

You are right, will do.

Joaquín M López Muñoz


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