$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Default argument values with boost::function
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-04-30 14:26:58
Artyom <sneg.vx <at> googlemail.com> writes:
>
> Hi,
>
> Is there any way to set default argument values with Boost::Function? On
> VS2008 SP1 I tried:
>
> boost::function< void( unsigned i = 1 ) > increment;
I do not think you can do it, but you can bind the value when you create the
instance.
Gennadiy