Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-04-17 15:02:26

From: "Giovanni Bajo" <giovannibajo_at_[hidden]>
> And, let me add, this
> issue is annoying. Do you know if there are any plans to modify this in
> future?

There has been some talk in the -ext committee reflector (but no concrete
proposals) to allow 'Foo' to be used in contexts where a function object is
expected (with the compiler generating an unnamed functor automagically.)

> > The problem here is that EDG considers Foo<int, int> a set of overloaded
> > functions (even when it contains a single element.) You need to
> > disambiguate:
> > void (*f) (int, int) = Foo<int, int>;
> > bind(f, _1, _2);
> Thanks, much easier syntax. Do you know if this is a bug of EDG, or just
> "allowed" interpretation of the standard? If it is not covered at all, it
> looks like a feasable DR to me.

There's one already:

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