asio-tr2 icon indicating copy to clipboard operation
asio-tr2 copied to clipboard

In io_service, consider whether size_t is the right type for counting handlers

Open chriskohlhoff opened this issue 10 years ago • 1 comments

chriskohlhoff avatar Feb 25 '15 10:02 chriskohlhoff

Pre-Lenexa Summary

[io_service.io_service]

This issue relates to the return value of functions like run(), poll(), etc.

Need guidance from LEWG on whether size_t is the right type to use for counting, keeping in mind that the number of executed handlers could be large. The comment in Cologne was that size_t is for sizes, and maybe that is not appropriate here.

See also related issue #66.

chriskohlhoff avatar May 04 '15 12:05 chriskohlhoff