|
Boost : |
Subject: Re: [boost] [variant] 1.58 boost/variant/get.hpp compile errors
From: Maarten de Vries (maarten_at_[hidden])
Date: 2015-05-04 09:43:26
On 4 May 2015 at 15:12, Maarten de Vries <maarten_at_[hidden]> wrote:
>
> I recently updated to boost 1.58 and one of my programs didn't compile any
> more. The reason was the <boost/variant/get.hpp> header. A simple test
> program and compiler output is attached below. Swapping the order of the
> includes or including <boost/type_traits/remove_cv.hpp> before
> <boost/variant/get.hpp> in the test program will get rid of the errors. It
> would appear that <boost/variant/detail/element_index.hpp> should include
> <boost/type_traits/remove_cv.hpp>.
>
>
If my assumption was correct, pull request here:
https://github.com/boostorg/variant/pull/15%e2%80%8b
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk