J
Jonathan Mcdougall
Visual studio 2005 reports
main.cpp(8) : warning C4996:
'std::basic_string<_Elem,_Traits,_Ax>::copy' was declared deprecated
with this program:
# include <string>
int main()
{
std::string s("Testing");
char buffer[10];
s.copy(buffer, 10); // < here
}
Comeau compiles this fine. I just wanted to know if the message meant
"was declared deprecated by Microsoft" or "was declared deprecated in
the standard". Could not find anything in the draft of tr1.
Thanks,
Jonathan
main.cpp(8) : warning C4996:
'std::basic_string<_Elem,_Traits,_Ax>::copy' was declared deprecated
with this program:
# include <string>
int main()
{
std::string s("Testing");
char buffer[10];
s.copy(buffer, 10); // < here
}
Comeau compiles this fine. I just wanted to know if the message meant
"was declared deprecated by Microsoft" or "was declared deprecated in
the standard". Could not find anything in the draft of tr1.
Thanks,
Jonathan