/variant

It is a small and simple implementation of a variant class like the boost::variant. Rather than using pointer arithmetics, it exploits c++11's union which allows to hold non-pod types. This way, we can keep the data on the stack.

Primary LanguageC++

Watchers