Deprecated std::bind2nd in <bits/random.tcc>

Morwenn Edrahir morwenn29@hotmail.fr
Mon Feb 11 23:02:00 GMT 2013


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 		 	   		  



More information about the Libstdc++ mailing list