gcc builtin functions, e.g. memcpy, and namespace std

Steven King sxking@uswest.net
Thu May 18 14:42:00 GMT 2000


On Thu, 18 May 2000, Benjamin Kosnik wrote:
> > 4. Treat ::memcpy and std::memcpy identical, as any extern "C"
> >    function with a certain name should be the same function, regardless
> >    in which namespace they are defined.
> 
> right. Note, that we need this for some C structs as well. It would be
> great to have this. ...
> 
> Nathan wrote up a bit describing what was necessary, a ways ago. Maybe he
> can provide a pointer....

  Dont forget it needs to work with overloading.  We have sqrt ([float | double
| long double]), abs ([int | long | float | double | long double]), etc.

 -- 
Steven King
sxking@uswest.net


More information about the Libstdc++ mailing list