
4 May
2015
4 May
'15
1:43 p.m.
On 4 May 2015 at 15:12, Maarten de Vries <maarten@de-vri.es> 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