Boost logo

Boost :

Subject: Re: [boost] Call for interest - BOOST_AUTO_FUNCTION
From: Matt Calabrese (rivorus_at_[hidden])
Date: 2010-10-06 04:35:46


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.

-- 
-Matt Calabrese

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk