$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Cédric Venet (cedric.venet_at_[hidden])
Date: 2007-07-10 09:02:05
> 2. I've run into the situation where parameters are truly optional -
> they don't specify default values, but optional components to an
> algorithm. What's the best way to implement this? How can I test
> (within a function) to determine if a parameter has been passed or
> not? I've hacked together an approach using a `not_given` struct. Is
> there something already like this in the library.
boost.optional should serve your purpose.