Closed alt-graph closed 1 year ago
This PR fixes the Windows compilation errors, #47 adds a CI setup for Windows on Github.
Rebased on main
.
Wonder what
lib
has been 🤔
lib
is a namespace from one of Michael Park's original headers. It contains mainly metaprogramming helpers: https://github.com/mpark/variant/blob/master/include/mpark/lib.hpp
Apparently some conditionally compiled blocks in
variant.h
were never tested on our usual Linux and Mac platforms. They contain undefined namespace references which blow up the build on Windows.This PR fixes the bug by correcting some namespace qualifiers to "std::" and adding some library code from Michael Park's original variant implementation.
I'll try to come up with a CI setup for Windows builds on Github next.
Closes #45.