Boost logo

Boost :

Subject: Re: [boost] [variant] gcc crash
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2016-12-18 11:47:43


2016-12-17 23:57 GMT+03:00 Igor R <boost.lists_at_[hidden]>:
> Consider the following snippet (trying to compile with Boost 1.62):
<...>
> It crashes GCC:
> http://melpon.org/wandbox/permlink/A6BuYqqrG4COcfFl
>
> and produces compilation error with any released version of Clang:
> http://melpon.org/wandbox/permlink/1JQ7OVLV3crERRJX
> (Although it does compile with Clang-4 trunk).

This touches a relatively new change in variant that SFINAEs
constructors. I'll investigate further soon.

Have you reported the issue at the GCC tracker?

-- 
Best regards,
Antony Polukhin

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