Question is pretty much in the title.
I\'d be happy with something that works just for fundamental types.
(Obviously I wouldn\'t want this for anything declared e.