This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Deprecated std::bind2nd in <bits/random.tcc>
- From: Morwenn Edrahir <morwenn29 at hotmail dot fr>
- To: <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 12 Feb 2013 00:02:08 +0100
- Subject: Deprecated std::bind2nd in <bits/random.tcc>
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?
Morwenn