Liste des Groupes | Revenir à cl c |
I know a bit of the development of std::filesystem. The view of mere 'standard'Another statement without arguments.
disregards fact and uses more the 'assertion' criticized.
"dont' need" is illusion, errors are always there, mostly ignored and encouragedIf the code is written to be exception-safe, i.e. it uses
to ignore by simplification.
C has not hard coded what 'exception' should be. E.g. C can also set an errorAre you serious? The fact that the exception type is transported along
object and let interested code to handle it in many ways, what's left is impl.
issues.
But, I think the 'throw' mechanism (not std::exception) is good, like manyTotally different - asserts are handled at debug-time.
others. 'throw' is more like a soft assert failure, which is no error handling.
Les messages affichés proviennent d'usenet.