Boost logo

Boost Users :

Subject: Re: [Boost-users] boost variant is not a literal type
From: Robert Ramey (ramey_at_[hidden])
Date: 2016-01-06 17:46:23

On 1/6/16 2:23 PM, Robert Ramey wrote:

> I've read your eggs.variant and it seems exactly what I'm looking for so
> I cloned. I used CMake to make and xcode project and I've got a couple
> of questions:
> a) It doesn't seem to specify CTest, at least my xcode project doesn't
> have a "RUN_TESTS" target. I try to build the tests and I get error
> messages like:
> /Users/robertramey/WorkingProjects/variant/include/eggs/variant/detail/pack.hpp:22:9:
> Unknown type name 'constexpr'
> at line which contains "EGGS_CXX11_CONSTESPR"
> which suggests that I haven't got things setup quite right.

I've resolved the above. It requires some CMake jujitzu. Didn't quite
work out of the box for xcode

Robert Ramey

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at