Skip to main content
2 events
when toggle format what by license comment
Jun 15 at 12:36 comment added indi [[maybe_unused]] is another way to deal with unused parameters, and avoids unnecessary comments (especially block comments that can disrupt commenting out whole functions). Also, I’m not sure if everyone is aware, but the filesystem functions taking std::error_code do throw exceptions… just not exceptions for filesystem errors. They can still throw on, for example, allocation failures. (But then, no effort is made to catch stray exceptions in any case, so I suppose the OP doesn’t really care.)
Jun 15 at 10:19 history answered G. Sliepen CC BY-SA 4.0