[squid-dev] [PATCH] implement std::hash<SBuf>

Alex Rousskov rousskov at measurement-factory.com
Mon Jul 27 23:23:17 UTC 2015


On 07/27/2015 05:02 PM, Amos Jeffries wrote:
> in src/SBuf.h:
> 
> * does the functor have to be defined inside std:: ?
> - my understanding was that namespace was reserved for STL use


Amos is right: Please try to find a way to avoid modifying std. Such
intrusion into std used to be required many years ago, but I would be
surprised if it still is.


Thank you,

Alex.



More information about the squid-dev mailing list