Skip to content

Instantly share code, notes, and snippets.

@ghassanpl
ghassanpl / variant.cc
Last active August 29, 2015 14:17 — forked from tibordp/variant.cc
#include <iostream>
#include <utility>
#include <typeinfo>
#include <type_traits>
#include <typeindex>
#include <string>
using std::type_index;
template<typename... Ts>