$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Why does gcc require explicit template arguments with my boost::bind
From: Chris Stankevitz (chrisstankevitz_at_[hidden])
Date: 2012-12-06 14:06:00
On Wed, Dec 5, 2012 at 9:34 PM, Chris Stankevitz
<chrisstankevitz_at_[hidden]> wrote:
> template <typename TAFunc1, typename TAFunc2>
> void Chain(const TAFunc1& Func1, TAFunc2& Func2)
> {
> Func1();
> Func2();
> }
Another problem with this: The second argument should be a const
reference, not a mutable reference.
Chris