Cpp optional implementation (boost::optional).