$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [optional]
From: Igor R (boost.lists_at_[hidden])
Date: 2009-05-06 05:07:53
> f(p1, boost::optional<Param2>(p2), boost::optional<Param3>(),
> boost::optional<Param4>(p4) );
The params would be implicitly converted, so you can call like this:
f(p1, p2, boost::optional<Param3>(), p4);