Commit c0e17daf by Jeffrey Oldham Committed by Jeffrey D. Oldham

char_traits.h (move): Reverse qualification of memmove with std::.

2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>

	* include/bits/char_traits.h (move): Reverse qualification of
	memmove with std::.
	(copy): Reverse qualification of memcpy with std::.

From-SVN: r42856
parent c940f36d
2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
* include/bits/char_traits.h (move): Reverse qualification of
memmove with std::.
(copy): Reverse qualification of memcpy with std::.
2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
* include/bits/char_traits.h (move): Qualify memmove with std::.
(copy): Qualify memcpy with std::.
* testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
......
......@@ -93,11 +93,11 @@ namespace std
static char_type*
move(char_type* __s1, const char_type* __s2, size_t __n)
{ return (char_type*) std::memmove(__s1, __s2, __n * sizeof(char_type)); }
{ return (char_type*) memmove(__s1, __s2, __n * sizeof(char_type)); }
static char_type*
copy(char_type* __s1, const char_type* __s2, size_t __n)
{ return (char_type*) std::memcpy(__s1, __s2, __n * sizeof(char_type)); }
{ return (char_type*) memcpy(__s1, __s2, __n * sizeof(char_type)); }
static char_type*
assign(char_type* __s, size_t __n, char_type __a)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment