bneradt commented on issue #8682:
URL: https://github.com/apache/trafficserver/issues/8682#issuecomment-1046055282


   std::binary_function is used in the following three places:
   
   * 
[include/tscore/IntrusivePtr.h](https://github.com/apache/trafficserver/blob/b87db5208376b889e0a988f5cd4c480f005e42f1/include/tscore/IntrusivePtr.h#L333)
   * 
[lib/swoc/include/swoc/DiscreteRange.h](https://github.com/apache/trafficserver/blob/b87db5208376b889e0a988f5cd4c480f005e42f1/lib/swoc/include/swoc/DiscreteRange.h#L322)
   * 
[src/wccp/WccpMeta.h](https://github.com/apache/trafficserver/blob/b87db5208376b889e0a988f5cd4c480f005e42f1/src/wccp/WccpMeta.h#L57)
   
   It looks like in general the interface can just be dropped unless the 
specific typedefs it provides are needed, which seems rare:
   https://stackoverflow.com/a/33115140/629530
   
   I therefore intend to create a PR that simply removes the binary_function 
inheritance.
   
   @SolidWallOfCode : Note the usage of deprecated interface 
std::binary_function in libswoc's DiscreteRange.h above.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to