For Programmers: Free Programming Magazines  


Home > Archive > VC STL > February 2006 > stl basic_string::clear member function missing now in platform sd









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author stl basic_string::clear member function missing now in platform sd
Trea

2006-02-15, 7:58 am

Hi,
I will also post this in the platform sdk group. I have been using the stl
from the Visual Studio .NET 2003 up untikl recently. We use the member
function string::clear() throughout the code.
Recently, we moved to the latest platform sdk (Windows Server 2003 SP1)
because we are porting to 64 bit systems and I need to use the cross
compiler. The 64 bit environment provided withe the sdk runs setenv.cmd which
updates the INCLUDE, LIB, PATH env variables etc. It points to its stl
(sdk\include\crt and sdk\include\crt\sys. I'm assuming that I have to stick
with this to get any potential 64-bit updates.
The issue is that the clear() method does not exist now in basic_string. I
wonder is this an oversight ? I know it was not in Vstdio v6.0 but it was
added for V7.0 as it is part of the standard.
Anyone gone down this route yet of a 64-bit build and come up against
discrepancies in the stl ?

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com