Boost logo

Boost :

Subject: Re: [boost] [release] Boost 1.70.0 Beta 1 is now available
From: Rainer Deyke (rainerd_at_[hidden])
Date: 2019-03-21 09:30:35


On 13.03.19 15:49, Marshall Clow via Boost wrote:
> Please download the beta, give it a try, and report any problems you
> encounter.

I would like to report another error, triggered when cross-compiling for
MacOS on a Linux host. The following minimal test program fails to compile:

   #include "boost/container/flat_map.hpp"

   int main() {
     boost::container::flat_map<int, int> m1, m2;
     m1.insert(m2.begin(), m2.end());
   }

Although the problem is triggered by Boost.Container, the actual error
appears to be in Boost.Move. On line 958 of
boost/move/algo/detail/merge.hpp, the function
merge_adaptive_ONlogN_recursive is called with length arguments of mixed
types if size_type != size_t, thereby preventing the compiler from
instantiating the merge_adaptive_ONlogN_recursive function template.

-- 
Rainer Deyke (rainerd_at_[hidden])

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