Skip to content
/ variant Public

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.

Notifications You must be signed in to change notification settings

mitsch/variant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

About

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.

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages