dermesser / libsocket

The ultimate socket library for C and C++, supporting TCP, UDP and Unix sockets (DGRAM and STREAM) on Linux, FreeBSD, Solaris. See also my uvco library for a refreshed version!
https://borgac.net/~lbo/doc/libsocket/
Other
797 stars 195 forks source link

Remove "using std::string" from the global namespace. #53

Closed mx closed 6 years ago

mx commented 6 years ago

This can fail to compile in projects where there's a separate string defined in the global namespace rather than std::string (rare, but it happens). It was already defined in the libsocket namespace in other headers, so we unified it to do that everywhere rather than have some headers define it under the namespace and some define it globally.

dermesser commented 6 years ago

Thank you!