Replicating boost::any bug.