This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] Simplify a tad _Bind<_Functor(_Bound_args...)>


2010/1/15 Paolo Carlini:
> Hi all, Jon,
>
> I'm thinking of simplifying a bit the recently introduced mechanism like
> this. Can you imagine anything wrong with it? Passes regtesting, of course.

I thought about doing that, but never tried it.  I think it should be
OK (but if we have to revert <functional> then it's moot anyway.)

> As a side note, I think it would be really nice if we could use *only*
> result_of instead, thus hiding declval tricks, but I don't think it's
> feasible, did you try hard Jon?

I tried - but I don't think it's possible with the current definition
of result_of, but might be with the proposed resolution of LWG 1225

I could be wrong though, I hit so many obstacles implementing that
code, and often wasn't sure if the problem was with g++, the
definition in the standard, or just my own limitation to write the
code correctly.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]