
On Tue, Oct 5, 2010 at 10:50 PM, David Sankel <camior@gmail.com> 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