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] | |
Bah. In the *specific* case at issue, I suppose we can as well do away with the binding dance, because we always have the same __transform and the same std::divides functor. Probably it made sense when the initiali <random> code went in. For 4.8 I'm finishing testing the below.I recently tried to compile some C++11 program that does not use any deprecated feature from C++03 with option -D_GLIBCXX_USE_DEPRECATED=0. I thought it would improve the compile time.
However, it does not compile since the function std::bind2nd is still used into the file <bits/random.tcc>.
Should the library be changed so that valid C++11 code does not have to rely on deprecated features anymore?
Thanks, Paolo.
Attachment:
patchlet
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |