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: Deprecated std::binder2nd in parallel/algo.h


On 09/30/2013 02:05 PM, Jonathan Wakely wrote:
On 29 September 2013 17:11, Morwenn Ed wrote:
Since it is possible to call g++ with -D_GLIBCXX_USE_DEPRECATED=0, we should probably
get rid of the dependence of deprecated features in the rest of the library; that would
ensure the usability of _GLIBCXX_USE_DEPRECATED.

I found std::binder2nd still used in parallel/algo.h (line 153) which could probably be
replaced by __gnu_parallel::__binder2nd since the function exists and is still compiled
when _GLIBCXX_USE_DEPRECATED is set to 0.
I agree that looks like a good idea.
Thus I mean to test/apply this sort of patchlet.

Paolo.

//////////////////

Attachment: p
Description: Text document


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