Re:Current hardware trends make C++ exceptions harder to jus...
by jcelerier on Tuesday February 22, 2022 @04:42PM
(#30434290)
Not in C++ I believe ?
[ Parent
| on HN ]
Re:Current hardware trends make C++ exceptions harder to jus...
by TheMonarchist on Tuesday February 22, 2022 @06:23PM
(#30435303)
Re:Current hardware trends make C++ exceptions harder to jus...
by YATA0 on Friday February 25, 2022 @01:49AM
(#30464346)
That is manually throwing an exception if the file doesn't exist.
C++ stdlib does not throw an exception if a file does not exist. I agree with this philosophy because files not existing isn't an exceptional case.
Re:Current hardware trends make C++ exceptions harder to jus...
by jcelerier on Wednesday February 23, 2022 @03:04AM
(#30438789)
Damn, in all those years I've absolutely never come across this, thanks