std::strdup and std::wcsdup ?

Dhruv Matani dhruvbird@gmx.net
Tue Mar 9 19:20:00 GMT 2004


Or for that matter, even the following compiles: I guess rand is in the
standard.

#include <cstdlib>
int main()
{ int x = rand(); }



On Wed, 2004-03-10 at 00:17, Paolo Carlini wrote:
> Carlo Wood wrote:
> 
> >Is there a reason that strdup and wcsdup are not put inside std
> >by <cwchar> ?  wchar.h defines them...
> >  
> >
> For sure neither strdup neither wcsdup are part of the C++ and C standards.
> 
> Paolo.
-- 
	-Dhruv Matani.
http://www.geocities.com/dhruvbird/

Proud to be a Vegetarian.
http://www.vegetarianstarterkit.com/
http://www.vegkids.com/vegkids/index.html



More information about the Libstdc++ mailing list