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: First patch to simplify <algorithm>


Paolo Carlini <pcarlini@suse.de> writes:

| >There might arise some issues with associated types, though they are
| >easily dealt with.
| >
| ... could you please clarify a bit this final note?

I thought our implementation was implicitly making the assumption that
some non-pointer type function objects derive from unary_function<> or
binary_function<> (therefore would provide xxx::result_type and
likes).  But, I just skimmed through and I can't find any such thing. 
(Somehow I got the idea that that were the case, while working on
something else). Sorry for the false alarm.

-- Gaby


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