mpark / variant

C++17 `std::variant` for C++11/14/17
https://mpark.github.io/variant
Boost Software License 1.0
659 stars 88 forks source link

Add support for VS 2015 #5

Closed mpark closed 7 years ago

mpark commented 8 years ago

Investigated the feasibility of supporting VS 2015 Update 1. I think there are currently too many missing features to justify the energy required to support it. Will re-investigate when update 2 is released.

The following are a few features I'm waiting on.

os12 commented 8 years ago

BTW, VS2015/update1 shipped with Clang/C2. Your existing code might just compile...

P.S. Unfortunately, given the amount of templated code in the headers, it would probably be an all-or-nothing deal. I.e. no joy in regular VS builds.

mpark commented 8 years ago

@os12 Yeah, I found some other projects that support VS with Clang/C2. Do you think that would be useful?

os12 commented 8 years ago

Well, I want to move my Windows-based builds to Clang/C2 when it matures a bit (you know, when it builds Boost). I love the modern frontend and VS/intellisense combo... but, who knows how stable it will be.

As for your std::variant implementation - it would be wonderful to be able to pick it up. Hopefully the support will require minimal or even no work from you...

mpark commented 7 years ago

I've added support for VS 2015 with Clang/LLVM. That is, via clang-cl. I've also added CI on Windows via AppVeyor: https://ci.appveyor.com/project/mpark/variant