Andrew Suffield wrote: > > C++ has both, and also has exceptions. > > C++ does not have an undef value. It has, thanks to boost::optional.