Why can’t we use boost::any for serialization ?

 

Isn’t there any work around to make this work ???