Boost logo

Boost :

Subject: Re: [boost] Call for interest - BOOST_AUTO_FUNCTION
From: David Abrahams (dave_at_[hidden])
Date: 2010-10-06 05:53:06

At Wed, 6 Oct 2010 04:35:46 -0400,
Matt Calabrese wrote:
> On Tue, Oct 5, 2010 at 10:50 PM, David Sankel <camior_at_[hidden]> wrote:
> > Although your solution works well, I think it is incredibly inelegant when
> > compared to a C++ language fix. Can't we solve this problem cleanly and
> > quickly? I'd really hate to see heaps of AUTO_FUN code created while we
> > wait
> > 12 years for the improvement in C++ syntax.
> >
> > So, personally I would not like to see this in boost. I'd like to see a
> > clean solution in all standards conforming compilers.
> >
> > David
> Well we certainly agree there, however I believe such a direct language
> feature is too late for 0x, so that's not really an option (someone correct
> me if I'm wrong)? While it's upsetting that a macro hack is needed for such
> a feature, I don't think there's much of a choice.

You're right.

Dave Abrahams
BoostPro Computing

Boost list run by bdawes at, gregod at, cpdaniel at, john at