> You were asking when static_casts between int and size_t are needed. > Interfacing Qt-based code with Standard Library types is one of such cases. Yes, and it is a nightmare. But this has been discussed in a different thread before. -- Best Regards, Bernhard Lindner