Subject: Re: [boost] [review][variant2] visit needs better user documentation
From: Larry Evans (cppljevans_at_[hidden])
Date: 2019-04-06 20:56:11
On 4/6/19 12:43 PM, Peter Dimov via Boost wrote:
> Larry Evans wrote:
>> Thanks for clearing that up.
>> However, I did some more exploring, and with the attached:
>> when only defined(UNSIGNED_I4), it compiles within a few secs.
>> when only defined(UNSIGNED_I5), it times several seconds consuming
>> 100% of one of my cpu's, but eventually compiles.
>> OTOH, when onely UNSIGNED_I5) is defined, it never terminates:
> 4^4 = 256. 5^5 = 3125. 6^6 = 46656.
Ah! Thanks. That information would be useful in the user documentation
to give future users a heads up about the compile time complexity.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk