Skip to content

Instantly share code, notes, and snippets.

@lightmare
lightmare / variant.cc
Last active Sep 12, 2016 — forked from daniel-j-h/LICENSE.md
Lambdas instead of visitors
View variant.cc
#include <string>
#include <iostream>
#if USE_BOOSTVAR
#include <boost/variant.hpp>
using boost::variant;
using boost::apply_visitor;
#else
#include <mapbox/variant.hpp>
using mapbox::util::variant;
View appveyor-badge-custom-build-text.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.