Is it possible to control the execution status of output operations in C ++ without try - catch blocks?
I am running the cout<<"Smthng" and I want to programmatically find out if this operation was successful. That is, I need something like Paskalevsky IOResult , or some variation of GetLastError() . I thought that there is such a field in ios , but there are only types for catching exceptions.
if (cout<<"Smthng"), not? - Abyx