SolidWallOfCode commented on PR #9767: URL: https://github.com/apache/trafficserver/pull/9767#issuecomment-1585085312
Use `std::optional` if you want to check for empty. Or if you use `DiscreteRange` it has an invalid / empty state. Although you don't have to check that because `contains` always fails on an empty range so it's really not worth the bother. -- 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]
